A simple c++ program

#include<iostream> using namespace std; int main() { cout<<“Welcome to c++ program”<<endl ; return 0; } Output: Welcome to C++ Program Explanation of above program:- Every c++ program contains a main function. The iostream is header file which contains all types of libraries. The meaning of “cout” is print the output on the console. cout is …

A simple c++ program Read More »