main()
{
int a=2,*f1,*f2;
f1=f2=&a;
*f2+=*f2+=a+=2.5;
*f1+=*f1+=a+=2.5;
printf("\n%d %d %d",a,*f1,*f2);
}
Choice
a) 18,18,18
b) 10,10,10
c) 72,72,72
d) 64,64,64
e) 26,26,26
Monday, June 8, 2009
Monday, June 1, 2009
Whatz the output
void main()
{
int i = abc(10);
printf("%d\n",--i);
}
int abc(int i)
{
return(i++);
}
Choice
a) 10
b) 11
c) 9
d) 0
{
int i = abc(10);
printf("%d\n",--i);
}
int abc(int i)
{
return(i++);
}
Choice
a) 10
b) 11
c) 9
d) 0
Subscribe to:
Posts (Atom)