whats the size of class EXP on 32 bit processor?
class EXP
{
char c1;
char c2;
int i1;
int i2;
char *ptr;
static int mem;
};
Answer Posted / sxx010100
20 bytes is right, but static is in data segment portion od
memory, not the heap.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is null and void pointer?
what is data abstraction in C++?
Do you know the problem with overriding functions?
Can you sort a set c++?
What are the three forms of cin.get() and what are their differences?
Why do we need runtime polymorphism in c++?
why and when we can declar member fuction as a private in the class?
What is an overflow error?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What is the difference between C and CPP?
Which operator cannot overload?
What does flush do c++?
What things would you remember while making an interface?
what kind of projects are suitable for c and c++
What are the new features that iso/ansi c++ has added to original c++ specifications?