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
Which one is a preferred language C or C++? Why?
What is a rooted hierarchy?
Where can I run c++ program?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Write about all the implicit member functions of a class?
What is constructor in C++?
Is map sorted c++?
How do you traverse a btree in backward in-order?
How the endl and setw manipulator works?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
When do you call copy constructors?
Why is "using namespace std;" considered bad practice?
What is meaning of in c++?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
Explain the scope of resolution operator.