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

What is this pointer in c plus plus?

1044


What is the function of this pointer?

1251


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1018


Explain continue keyword in c

979


Is it possible to pass an entire structure to functions?

959


What do you mean by c what are the main characteristics of c language?

996


What is realloc in c?

1035


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1223


how we can make 3d venturing graphics on outer interface

4756


Is calloc better than malloc?

987


What does 1f stand for?

1105


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2065


Explain what is a program flowchart and explain how does it help in writing a program?

1065


how to introdu5ce my self in serco

1962


How do I create a directory? How do I remove a directory (and its contents)?

1119