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  >  IBM  >  Technical

 Print  |  
Question:  

main()

{

printf("%u",main);

}

what will be the output?

main()

{

int 1,b;

int con;

1=b=2;

con (b==1) ? 1 : 0;

printf("%d",con);

} what will be the value of con?



July 07, 2005 10:59:49 #1
 Vijaya Bhaskar M   Member Since: Visitor    Total Comments: N/A 

RE:

main()

{

printf("%u",main);

}

what will be the output?

main()


 
Here the program contains the error. since we cant declare variable with digits...here in this program the digit 1 is declared as integer.
     

 

Back To Question