Computer Science, asked by samyakga, 7 months ago

What are the basics of C & C++

Answers

Answered by sudhanshu5842
1

Answer:

First C++ program:-

Header files are included at the beginning just like in C program. ...

Using namespace std, tells the compiler to use standard namespace. ...

main(), is the function which holds the executing part of program its return type is int .

cout <<, is used to print anything on screen, same as printf in C language.

Explanation:

second c language:-The main features of C language include low-level access to memory, a simple set of keywords, and clean style, these features make C language suitable for system programmings like an operating system or compiler development. Many later languages have borrowed syntax/features directly or indirectly from C language.

Similar questions