I have one doubt.
What does below statement mean?
#define sizeof(operator)
where operator can be int or float etc.
Does this statement meaningful and where it can be used?
The following define overrides all the occurrences of sizeof and replaces by blank, there is no definition of sizeof on the right hand side of expression
#define sizeof(operator)
example
printf("val = %d", sizeof(int)); is made to look like
printf("val = %d", ); // replaced by blank, int not processed
// causes compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
how do you execute a c program in unix.
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
Why doesnt the call scanf work?
Explain the meaning of keyword 'extern' in a function declaration.
What is d scanf?
Can a variable be both const and volatile?
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none
Linked lists -- can you tell me how to check whether a linked list is circular?
Explain what is a const pointer?
What is the difference between if else and switchstatement
How can I trap or ignore keyboard interrupts like control-c?
Explain what is a stream?