what is the main difference between c and c++?
Answer Posted / pankaj
c++ is considered to be more secured as compared to c bcoz
in c++ the concept of pointers is not provided.pointers can
b used in c++ but they cannot be used directly as in c
language.c++ also does not support operator overloading.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the sylabus for priliminaries?
What is a function in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What is inheritance and how many types of inheritance?
What is oops concept with example?
What is difference between data abstraction and encapsulation?
What is multilevel inheritance?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Which method cannot be overridden?
What are the advantages of polymorphism?
What is the fundamental idea of oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is methods in oop?
What is polymorphism and why is it important?
Which language is pure oop?