Google News
logo
CPP - Quiz(MCQ)
What will happen when the structure is declared in C++?
A)
it will be declared
B)
it will allocate the memory
C)
it will not allocate any memory
D)
it will be declared and initialized

Correct Answer :   it will not allocate any memory


Explanation : While the structure is declared, it will not be initialized, So it will not allocate any memory.

Advertisement