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  >  CDAC

 Print  |  
Question:  What will be the output for the below statements
1) printf("hello""hai");
a)hello
b)hai
c)both
d)none of these

2) printf("hello","hai");
a)hello
b)hai
c)both
d)none of these
(NOTE:this is recently asked question in CDAC)


Answer: ANS 1: c

ANS 2: a


April 04, 2008 07:04:51 #2
 manishmca1   Member Since: April 2008    Total Comments: 4 

RE: What will be the output for the below statements1) printf("hello""hai"); a)hello b)hai c)both d)none of these 2) printf("hello","hai"); a)hello b)hai c)both d)none of these (NOTE:this is recently asked question in CDAC)
 
Ans is D

print is 'hello''''hai
     

 

Back To Question