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 |
Explain what is the difference between functions abs() and fabs()?
Can include files be nested? How many levels deep can include files be nested?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
how can i print "hello"
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?
What is sparse file?
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Write a program to show the workingof auto variable.