what is the main difference between c and c++?
Answer Posted / sandeep mallah
1.c namespace feature is a absent ,c++ namesapce feature is present.
2. c does not allows reference varibles ,c++ allows reference varibles . reference varible allow 2 varible name to point to the same memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a constructor and a destructor?
What is the point of polymorphism?
Which method cannot be overridden?
How do you achieve runtime polymorphism?
Can bst contain duplicates?
What is solid in oops?
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’.
Templates mean
Why is encapsulation used?
What is difference between multiple inheritance and multilevel inheritance?
What are the 3 pillars of oop?
What is data binding in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is the difference between encapsulation and polymorphism?
What are two types of polymorphism?