GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Wipro  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 32 of 157    Print  
main()
{ char dummy[20]; scanf("%[^a]",dummy);
printf("%s", dummy); }
What will it do?

A. ERROR
B. take characters till ctrl z is pressed
C. take up to 19 characters
D. none of these


  
Total Answers and Comments: 1 Last Update: February 10, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 10, 2006 05:51:51   #1  
sailakshmi        

RE: main(){ char dummy[20]; scanf("%[^a]&q...

ans:

take characters till ctrlz is pessed


 
Is this answer useful? Yes | No

 Related Questions