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 porgram in c++ that reads an integer and print the biggest digit in the number
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What are the advantages of c++?
What is an accessor in c++?
When must you use a pointer rather than a reference?
What is virtual table?
Write a program to find the reverse Fibonacci series starting from N.
Explain what data encapsulation is in c++?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
What is the best ide for c++?
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
Explain what are single and multiple inheritances in c++?
Array base access faster or pointer base access is faster?
What are the benefits of pointers?
In a function declaration, what does extern mean?