What is the difference b/w main() in C language and main()
in C++.
Answer Posted / ayush jindal
in c & c++
the main difference is that "c" is based on top to bottom
approach.in "c"languge the header file is used as
#include<stdio.h> its also programable language.
& in c++ is based on bottom upto top approach. in c++ the
header file is used as #include<iostream.h> is used. is
also based on "object oriented program".
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
What is the size of structure in c?
Explain bitwise shift operators?
Why do we use pointer to pointer in c?
What is the use of pragma in embedded c?
What is the difference between class and object in c?
Explain what math functions are available for integers? For floating point?
how to introdu5ce my self in serco
What is your stream meaning?
What is the difference between arrays and pointers?
Why is this loop always executing once?
Can one function call another?
What is the sizeof () a pointer?
Is sizeof a keyword in c?
Can we declare variable anywhere in c?