what is the main difference between c and c++?
Answer Posted / vijayasekar
1.C does not have any classes or objects. It is procedure
and function driven. There is no concept of access through
objects and structures are the only place where there is a
access through a compacted variable. c++ is object oriented
2.C structures have a different behaviour compared to c++
structures. Structures in c do not accept functions as
their parts.
3.C input/output is based on library and the processes are
carried out by including functions. C++ i/o is made through
console commands cin and cout.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is methods in oop?
what is graphics
What is overriding in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What does and I oop mean in text?
What are the types of abstraction?
What is the difference between procedural programming and oops?
Is react oop?
What are two types of polymorphism?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is polymorphism in oop example?
Can we create object of abstract class?
What is a class in oop?
What is static modifier?
Get me a number puzzle game-program