1.

What will be the output of the following C code?
#include <stdio.h>
void fun(const int *);
int main()
{
const int k = 12;
printf("%d ", k);
fun(&k);
printf("%d", k);

}
void fun(const int *k)
{
*k = 21;
}

A. 12 21
B. 21 12
C. Runtime Error
D. Compilation Error
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs