What is the difference between Class and Structure?
Answer Posted / bitdeveloper
<a
href="http://questionscompiled.com/answer.jsp?technology=cpp&qid=141">questionscompiled.com</a>
Classes and Structures in C++ are same except class defaults
to private and structures to public. They can have data
members, member function, this pointer, static member functions.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a program to concatenate two strings.
What is an operator function? Describe the function of an operator function?
Which format specifier is used for printing a pointer value?
Explain one-definition rule (odr).
How can you quickly find the number of elements stored in a dynamic array?
Why c++ is the best language?
What are the rules about using an underscore in a c++ identifier?
What are the c++ access specifiers?
What is binary object model?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Can comments be nested?
What is anonymous object in c++?
What is std :: endl?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Write a Program for find and replace a character in a string.