What are the differences between a struct in C and in C++?
Answer Posted / swetcha
C structure does not support member functions to be
declared in the structure whereas C++ structure can have
member functions declared in them
| Is This Answer Correct ? | 34 Yes | 3 No |
Post New Answer View All Answers
write a programme to get a character and thier ASCII value
What is the main purpose of overloading operators?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
Is c++ still in demand?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
Write a program using display() function which takes two arguments.
What are the uses of pointers?
How are the features of c++ different from c?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
How can I disable the "echo" feature?
When to use “const” reference arguments in a function?
What are pointers used for c++?
Does c++ have foreach?
Explain function overloading
What are the three forms of cin.get() and what are their differences?