struct node {struct node*temp,*new}
prinf("%d",sizeof(struct node));
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / dani
It's architecture dependent. If you have a 32 bit address than the output will be 4 (octets), if the address is 64 bit than it'll be 8.
| Is This Answer Correct ? | 0 Yes | 1 No |
Can include files be nested?
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is the difference between array and pointer?
What is meant by type specifiers?
What does the file stdio.h contain?
Determine the result of performing two successive block transfers into the same area of a frame buffer using the binary arith operations
Write a program to find whether the given number is prime or not?
write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?
Explain what is the difference between functions abs() and fabs()?
What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }
write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview
2 Answers Satyam, UNIS, Wipro,