nirvana
Company
Category
What is the output of
Printf("%d %d",sizeof(NULL),sizeof(""));
Read Solution (Total 4)
-
- sizeof(NULL) : 2
sizeof("") : 1 - 10 years agoHelpfull: Yes(0) No(0)
- 2 1
Executed in Turbo C - 10 years agoHelpfull: Yes(0) No(0)
- IN GCC,
Sizeof(NULL)=4 byte
sizeof("")=1 byte
- 10 years agoHelpfull: Yes(0) No(0)
- size of null:garbage (not sure),size of(""):1(correct)
- 10 years agoHelpfull: Yes(0) No(0)
nirvana Other Question