1.

What will be the output of the following C code?
#include <stdio.h>
void function(char *p)
{
printf("%s", p);
}
void main()
{
char str[] = "Interveiw Mania";
function(str);
}

A. Nothing
B. Undefined behaviour
C. Interveiw Mania
D. Compilation Error
E. None of these
Answer» D. Compilation Error


Discussion

No Comment Found