what is the main difference between c and c++?
Answer Posted / megha sisode
C++ uses NAMESPACE which avoid name collisions. For
instance, two students enrolled in the same university
cannot have the same roll number while two students in
different universities might have the same roll number. The
universities are two different namespace & hence contain
the same roll number(identifier) but the same university
(one namespace) cannot have two students with the same roll
number(identifier)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a varargs method be overloaded?
what type of questions
What is a function in oop?
What is the purpose of polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is encapsulation selenium?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
How do you define a class in oop?
Why interface is used?
Why is encapsulation used?
What is the types of inheritance?
What is new keyword in oops?
What is object and class in oops?
What are properties in oop?
What is stream in oop?