BASIC STRUCTURE OF C++(L-1)
WHAT IS THE BASIC STRUCTURE OF C++?
# include <iostream>
int main()
{
std::cout<<"hello world";
return 0;
}
1.This is the basic structure of c++
the text which is written in "" will be
printed as the output.
2.<iostream> -->It is one of the header file.
3.std -->It is know as namespace.
4.int -->Integer
5.main -->It is the main function,every other function is
written in this functions.
WHAT IS THE BASIC STRUCTURE OF C++?
# include <iostream>
int main()
{
std::cout<<"hello world";
return 0;
}
1.This is the basic structure of c++
the text which is written in "" will be
printed as the output.
2.<iostream> -->It is one of the header file.
3.std -->It is know as namespace.
4.int -->Integer
5.main -->It is the main function,every other function is
written in this functions.