Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??

Answer Posted / avinash dubey

the correct answer in gcc compiler is 12..
concept of structure padding is involved here..

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between macros and inline functions? Can a function be forced as inline?

1201


Which one would you prefer - a macro or a function?

1034


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1834


What is a function simple definition?

1031


What is wrong with this statement? Myname = 'robin';

1264


What is a node in c?

919


What are predefined functions in c?

1022


Explain what does the format %10.2 mean when included in a printf statement?

1290


What is a #include preprocessor?

1076


Who invented b language?

1339


What does 2n 4c mean?

1188


Can we replace the struct function in tree syntax with a union?

1238


What is && in c programming?

1112


What is file in c preprocessor?

1089


Explain what is the difference between #include and #include 'file' ?

969