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

Answer Posted / saranya

The character datatype takes "1 Byte" for their memory. the
integer takes "2 Bytes" for their memory

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic difference between C and C++?

628


What is a driver program?

635


What is the best it certification?

590


Why c++ is so important?

613


Define linked lists with the help of an example.

558






How compile and run c++ program in turbo c++?

634


What are the various oops concepts in c++?

602


What is the two main roles of operating system?

518


Can a program run without main function?

623


Can comments be nested?

632


Can comments be longer than one line?

628


What is the return value of the insertion operator?

607


What is array in c++ pdf?

557


write a programme to get a character and thier ASCII value

2598


What do you mean by ‘void’ return type?

609