What is the Difference between "C structure" and "C++
structure"?
Answer Posted / sanket
In C++ structure you can add functions whereas in C
structure you cannot!
Is This Answer Correct ? | 39 Yes | 10 No |
Post New Answer View All Answers
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What are iterators in c++?
What is a storage class? Mention the storage classes in c++.
Explain operator overloading.
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What are the extraction and insertion operators in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is atoi in c++?
Define 'std'.
What are maps in c++?
Explain the isa and hasa class relationships. How would you implement each?
Carry out conversion of one object of user-defined type to another?
What is the advantage of c++ over c?
What is the latest version on c++?