what is the main difference between c and c++?
Answer Posted / vivek goyanr
In C memory allocation is done with malloc statement whereas
in C++ it is done through new keyword.Also memory is
deallocated in C using free statement while in C++
deallocation takes place through delete.
Is This Answer Correct ? | 452 Yes | 108 No |
Post New Answer View All Answers
What is constructor overloading in oop?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is interface in oop?
Write a program to sort the number with different sorts in one program ??
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is the example of polymorphism?
Who invented oop?
What is polymorphism and why is it important?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What are the features of oop?
What is an example of genetic polymorphism?
What is purpose of inheritance?
What is object in oop?
What is difference between oop and pop?