Answer Posted / vinay bondade
Everything for what a class is implemented holds good for
structure also in C++. The only difference is the
attributes in a class if access specifiers are not
specified they are Private members but for structure they
are public members.
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Explain the difference between overloading and overriding?
How many types of modularization are there in c++?
Is there any difference between int [] a and int a [] in c++?
What do you understand by zombie objects in c++?
What is diamond problem in c++?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What is DlgProc?
Which function should be used to free the memory allocated by calloc()?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What are c++ stream classes?
What is malloc in c++?
What new()is different from malloc()?
What are the basics of local (auto) objects?
What is encapsulation in C++? Give an example.