

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following is the correct output for the program given below?#include <stdio.h>void fun ( int*, int* ) ;int main( ){ int a = 6, b = 3 ; fun (&a, &b); printf ("%d %d n" , a, b); return 0 ;}void fun (int*a, int*b){ *a = *a* *a; *b = *b* *b ;} |
A. | 6 3 |
B. | 12 6 |
C. | 3 6 |
D. | 36 9 |
E. | 9 36 |
Answer» E. 9 36 | |