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
Why is c fast?
What is the use of define in c?
What is equivalent to ++i+++j?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is c language & why it is used?
What is structure in c language?
What is preprocessor with example?
how can use subset in c program and give more example
Why main function is special give two reasons?
Explain how do you generate random numbers in c?
Why is #define used?
What is this pointer in c plus plus?
Does c have class?
What is the difference between int main and void main?