struct node {struct node*temp,*new}
prinf("%d",sizeof(struct node));

Answer Posted / aravind

ok guys.
Here first structure is not ended with a
termination.Structure is nested with another
structure.Usually pointer takes 4 bytes for GCC compiler
and here he defined 2 pointers so o/p would be 8 bytes but
compiler shows error of being undeclared structure

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 1f stand for?

618


What is the purpose of & in scanf?

603


Can the sizeof operator be used to tell the size of an array passed to a function?

623


difference between Low, Middle, High Level languages in c ?

1636


Explain how do you generate random numbers in c?

628






Define macros.

787


Are there any problems with performing mathematical operations on different variable types?

577


What is the difference between single charater constant and string constant?

628


what will be maximum number of comparisons when number of elements are given?

1413


How can you invoke another program from within a C program?

620


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1421


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

818


Who developed c language?

644


What is meant by type casting?

632


What is a built-in function in C?

802