Discuss the major part of c++ language ( BCA- 3sem)


 Definition of Comment:-

"C++"language a new comment symbol (") which work start of the line and described source code value.


Definition of Header file:-

"C++" language support iostream header file at the start of every program that use iput- output statement and another header file console input- output which define keyword operations.

           # include<iostream>

           # include<conio.h>


Read Also- Define market . discuss the marketing structure (Business  Economic BCA 3-sem)

Definition of Define Section:-

This section depend on program requirements and use a globe variable use in main function.


Definition of Main Function:- 

"C++" language support different types of function and body of program.


Daffination of Return Statement:-

In C++ language main function returns an integer value to the operating system every main function in "C++" language should end with the return (0).

Example:-

               //Area of circle//

              #  include<iostream.h>

             # include <conio.h>

            # define PI 3.14

               Void main ()

              {

             Float r,A;

            Cout<< "Enter the redius";

            A= PI * r * r;

         cout<<"Area of circle A" ;

              geatcn ();

          }


No comments:

Post a Comment

If you have any doubts, Please lets me know and Please Follow our Website