Q.1 . TurboC 3.0 is based on
a . DOS
b . UNIX
c . Windows
d . none
Q.2 . Find the output.
void main()
{
int a=4,b=5;
printit(a, b);
}
printit(int b, int a)
{
printf("%d %d", a, b);
{
int a=0;
int b=1;
printf("%d %d", a, b);
}
}
a . 4 5 0 1
b . 5 4 0 1
c . 5 4 5 4
d . None of these
Q. 3 . Find the output
void main()
{
int const x=4;
int i,a[x]={1,2,3,4};
for(i=0;i<4;i++) x="1.5" y="1.5f" z="1.5" a="b=" c="10;" a="10;" a="call(a=" i="printf(" a="sizeof(int)/sizeof(float))" a="=" a="{2.5};" b="a;" a="5,*p;" p="&a;" i="15;" x="16384,y=" ptr="&one_d;" i="1;i<=" i="=" i="1;i<=" i="=" p="Hai Bye" i="3;">0)
{
int i=5;
printf("%d",i);
i--;
}
}
a . 5 4 3 2 1
b . Error, multiple declaration for i
c . 3 2 1
d . Infinite loop
Q. 28 . The contents of a file will be lost if it is opened in
a . a mode
b . a- mode
c . w+ mode
d . a+ mode
Q. 29 . Find the output.
void main()
{
int i=1,j=2,k=3;
if(i==1)
if(j==2)
if(k==3)
{
printf("ok");
break;
}
else
printf("continue");
printf("bye");
}
a . ok
b . okbye
c . Misplaced break
d . None of these
Q. 30 . Find the output
void main()
{
printf("Lakshya\C\Academy");
}
a . LakshyaCAcademy
b . LakshyaAcademy
c . Lakshya
d . Lakshyacademy
The Vera Zvonareva Picture
-
*Vera Zvonareva*
NEW YORK CITY, NEW YORK
*V. ZVONAREVA/K. Kanepi6-3, 7-5*
THE MODERATOR: Questions, please.
*Q. Crazy, crazy kind of weather out...
13 years ago
No comments:
Post a Comment