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 a namespace in c++?
How important is c++?
Write a program which uses functions like strcmp(), strcpy()? etc
Why is "using namespace std;" considered bad practice?
What kind of problems can be solved by a namespace?
How do I get good at c++ programming?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
Should a constructor be public or private?
Why do we use setw in c++?
Explain what is polymorphism in c++?
What is function prototyping? What are its advantages?
What gives the current position of the put pointer?
How is new() different from malloc()?
What are activex and ole?