Senin, 31 Oktober 2016

What is the difference between C and C++ programming languages

Let’s consider the following C++ program which prints “Hello World” on to the console or terminal window. We will look at various elements used in the program. 1 2 3 4 5 6 7 8 //C++ program to print “Hello World” #include <iostream> using namespace std; int main() { cout<<“Hello World”; return 0; } Output of the above code is: 1 Hello World   In the above program, iostream is the name of a header file which contains I/O functionality. In order to take input and print some output using our C++ program, we have to include that header file

The post What is the difference between C and C++ programming languages appeared first on Coding Security.


What is the difference between C and C++ programming languages
read more

Tidak ada komentar:

Posting Komentar