GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  C

 Print  |  
Question:  what is the output of following program?
#include
void main()
{
printf("%d%d",sizeof(NULL),sizeof(" "));
}




March 03, 2007 04:59:15 #4
 radhika   Member Since: Visitor    Total Comments: N/A 

RE: what is the output of following program?#inc...
 

the #include must be completed else its syntax error,
NULL have to be declared(stdio.h)
if <stdio.h> is included the result is 22

     

 

Back To Question