struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??
Answer Posted / vishnu948923
void main()
{
int x,y;
y=&abc.a;
x=(&abc->p+1);
printf("%d",x-y);
}
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
write a program in c language to print your bio-data on the screen by using functions.
List some of the static data structures in C?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is mean by data types in c?
What is self-referential structure in c programming?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How to establish connection with oracle database software from c language?
Is Exception handling possible in c language?
What is a built-in function in C?
What is the role of && operator in a program code?