How much is size of struct having 1 char & 1 integer?

Answer Posted / poorn singh

the object for the struct will use 3 bytes (1 byte for char and 2 byte for integer) in a sequential manner.

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c++ is not a pure oop language?

559


What are the four partitions in which c++ compiler divides the ram?

704


Explain Memory Allocation in C/C++ ?

643


What is a constructor and how is it called?

602


What is function prototyping? What are its advantages?

597






Is c++ a programming language?

598


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2041


Why is c++ awesome?

581


What is array in c++ example?

653


What are static type checking?

634


Write a function that swaps the values of two integers, using int* as the argument type?

611


What are features of c++?

641


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

693


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3513


What is a singleton c++?

551