What is Object Oriented programming.what is the difference
between C++ and C?
Answer Posted / yashwant
object oriented prog. introduces the concept of object &
class.In object oriented lang. data member can be made
public, private, & protected. eg:- c++,java, etc.
c++ is advanced form of c. In one
hand c is procedure laugauge where as on other side c is
object oriented. we have some additional keywords in c than
c++.ex:-new etc.c++ also allows 256 char to store.
| Is This Answer Correct ? | 28 Yes | 11 No |
Post New Answer View All Answers
Why use of template is better than a base class?
Mention the ways in which parameterized can be invoked. Give an example of each.
What is a Default constructor?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is function overriding in c++?
Does c++ support exception handling?
What is #include iomanip?
What are activex and ole?
Is there any function that can skip certain number of characters present in the input stream?
What are vectors used for in c++?
Why is main function important?
What is diamond problem in c++?
What is abstraction in c++?
What is a memory leak c++?
What is pointer -to-members in C++? Give their syntax?