Thursday, 22 June 2023

Explain Basic Structure of C++ Programing

Documentation

It includes an outline of the program, the call of the programmer, and the date of creation. These are typically written with inside the shape of comments.



Link

All header files are included in this section and contain various functions of the library. Copies of these header files are included in your code before compilation.

Definition

Contains preprocessor statements that contain symbolic constants. For example, #define allows you to use constants in your code. Replace all constants with values ​​in your code. global statement.

Global Declaration

Includes global variables, function declarations, static global variables and function declarations.

Main() Function

When running a C++ program, always start with the main() function. It is mandatory to have a main() function in every C++ program.

Subprograms

Contains all custom functions (functions provided by the user). This can include built-in functions and function definitions declared in the Global Declarations section. These are called main() functions.

Example:-

#include <iostream>

using namespace std;

main()

{

  cout << "Hello TCCI!";

}

Example:-

Hello TCCI!

TCCI computer coaching institute is located in Bopal Ahmedabad and ISCON Ambli Road in Ahmedabad.

For More Information:                                    

Call us @ +91 9825618292

Visit us @ http://tccicomputercoaching.com

No comments:

Post a Comment