Tuesday, September 10, 2013

Programming Problems(Find the output??)


What is the output of following programe?
Ques1.
#include <stdio.h>
main( )
{
i n t a, b y c;
scanf ( "%3d %3d %3d" , &a, &b, &c) ;
. . . . 

}
Input : 
1234 5678 9

Ans. Assignment will be like this:

a=123 b=4 c=567

Ques2.

No comments:

Post a Comment