where is memory for struct allocated?
where is memory for class-object allocated?
I replied for struct in stack and for class-object in heap.
THen he asked if class has struct member variable what
happens.class on heap and what about struct in that class?
couldnt ans :( :-?
TCS Sanjeevni Institue Aztecsoft What Is The C Micro Soft Ibm Sd ZeOmega ORACLE No Gdfj Ibm Khalsa Institute Of Management Technology PTU Hemant None I B M Itm HCL In My Mind Sathyam Wipro In B.tech Ibm Cmc What Is The Concept Is Not There In Java A