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
What is boyce codd normal form in c++?
what is the use of void main() in C++ language?
Describe exception handling concept with an example?
Differentiate between structure and class in c++.
Write a recursive program to calculate factorial in c++.
What are the benefits of pointers?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
Out of fgets() and gets() which function is safe to use?
What do nonglobal variables default to a) auto b) register c) static
What is the purpose of template?
What is ios class in c++?
Explain bubble sorting.
Explain the purpose of the keyword volatile.
Why are pointers used?
What is scope operator in c++?