What are the differences between a struct in C and in C++?
Answer Posted / shakti singh khinchi
In C, structures never support constructors and destructors
whereas C++ supports both of them.
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is virtual base class uses?
What is c++ good for?
What is namespace & why it is used in c++?
What is implicit pointer in c++?
What do you mean by function and operator overloading in c++?
What is the difference between public and private data members?
How do you flush std cout?
What is the best free c++ compiler for windows?
Explain terminate() and unexpected() function?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
If dog is a friend of boy, is boy a friend of dog?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Why do we learn c++?
Can member data be public?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?