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
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the difference between procedural and functional programming?
What is difference between union and structure in c?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is the use of getchar() function?
What is pointers in c with example?
What is an lvalue?
Why do we write return 0 in c?
What is %s and %d in c?
What does a function declared as pascal do differently?
Can we increase size of array in c?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Why do we use int main?
Why c is called a middle level language?