How much is size of struct having 1 char & 1 integer?
Answer Posted / santosh jain
zero , struct will not have any size in memory untill
object is created.
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
What is the role of copy constructor in copying of thrown objects?
What is low level language in simple words?
What are guid? Why does com need guids?
What is class in c++ with example?
Differentiate between the message and method in c++?
What are register variables?
What does it mean to declare a member function as static?
What is searching?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What does std mean in c++?
How many different levels of pointers are there?
What does it mean to declare a destructor as static?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
Write about a nested class and mention its use?
List the types of polymorphism in c++?