difference between c and c++?
Answer Posted / tania
In c++,access specifiers(public,protected,private)are used
while in C they are not used because in c there isn't any
data accessing restriction.
In c,I/O functions are scanf(),printf()respectively,but in
C++ cin>>,cout<< are used respectively.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the scope of resolution operator.
Which format specifier is used for printing a pointer value?
How would you use the functions sin(), pow(), sqrt()?
What is an html tag?
When you overload member functions, in what ways must they differ?
How do I run c++?
What is input operator in c++?
What is a constructor and how is it called?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is flag in computer?
When do we run a shell in the unix system?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is abstract class in c++?
What are the main features of c++?
Write about c++ storage classes?