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 |
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is hungarian notation? Is it worthwhile?
What are the 5 types of organizational structures?
How many types of arrays are there in c?
write a program that will print %d in the output screen??
Why is sizeof () an operator and not a function?
who did come first hen or agg
What is difference between constant pointer and constant variable?
Why c is called a middle level language?
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(