The following program
main ()
{ int a = 4;
change { a };
printf ("%d", a);
}
change (a)
int a;
{
printf("%d", ++a);
}
outputs
A. | 55 |
B. | 45 |
C. | 54 |
D. | 44 |
Answer : C Explanation : change (a) , prints 5 but the value of 'a' in main ( ) is still 4. So main( ) will print 4. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |