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


Please Help Members By Posting Answers For Below Questions

Why is c++ not purely object oriented?

783


What does new in c++ do?

753


Differentiate between a constructor and a method in C++.

784


Which software is best for c++ programming?

795


List the advantages of inheritance.

885


What is algorithm in c++ programming?

808


What is DlgProc?

790


How many types of scopes are there in c++?

800


Write about the stack unwinding?

853


Is c++ a high level language?

753


If a header file is included twice by mistake in the program, will it give any error?

807


What is a namespace in c++?

1447


What is an operator in c++?

812


What is set in c++?

848


What is the use of register keyword with the variables?

763