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

Answer Posted / vignesh1988i

THE SIZE OF THE STRUCTURE WILL BE '5'

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type of language is c?

639


What is strcmp in c?

589


How do we open a binary file in Read/Write mode in C?

668


What is data type long in c?

614


Why can’t constant values be used to define an array’s initial size?

823






Is it possible to use curly brackets ({}) to enclose single line code in c program?

780


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1341


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1904


Explain how do I determine whether a character is numeric, alphabetic, and so on?

644


What is clrscr in c?

663


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

641


Suggesting that there can be 62 seconds in a minute?

588


Why is sizeof () an operator and not a function?

568


What is extern keyword in c?

632


What is variable declaration and definition in c?

491