struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??
Answer Posted / ryan
The size of the structure is 5 bytes
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is scope rule in c?
What are the properties of union in c?
What is the difference between exit() and _exit() function?
How do you declare a variable that will hold string values?
Write a program to swap two numbers without using third variable?
what value is returned to operating system after program execution?
what are the 10 different models of writing an addition program in C language?
How is null defined in c?
write a proram to reverse the string using switch case?
Explain pointer. What are function pointers in C?
What is a macro, and explain how do you use it?
How are pointers declared in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
How do you do dynamic memory allocation in C applications?
What is string length in c?