what is the main difference between c and c++?
Answer Posted / yaswant kumar chaudhary
In c we can use only /* */this type of symbols for writing
any comments ,but in c++ we can use // ,and also symbols
used in c which is written above can also be used for
writing multiple line comments.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is class in oop with example?
What exactly is polymorphism?
What is the purpose of polymorphism?
What does oop mean in snapchat?
What is abstraction and encapsulation?
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 destructor in oop?
What is the renewal class?
What is the importance of oop?
What are two types of polymorphism?
is there any choice in opting subjects like 4 out of 7
What is use of overloading?
What are the advantages of polymorphism?
What does it mean when someone says I oop?
What causes polymorphism?