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
Do you know what are pure virtual functions?
What is an adjust field format flag?
What is an orthogonal base class in c++?
What are multiple inheritances (virtual inheritance)?
Eplain extern keyword?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
Are strings immutable in c++?
Can a function take variable length arguments, if yes, how?
What is function overriding in c++?
Can static member variables be private?
What is time_t c++?
What is c++ array?
Why do we need pointers?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num