1.

What is the output of this C code? #include void foo(const int *); int main() { const int j = 20; printf("%d ", j); foo(&j); printf("%d", j); } void foo(const int *j) { *j = 500; }

A. Compile time error
B. 10 20
C. Undefined value
D. 10
Answer» B. 10 20


Discussion

No Comment Found