1.

Comment on the output of the following C code.
#include <stdio.h>
int main()
{
char *s = "Interveiw" //Line 1
char *p = "Mania n"; //Line 2
s = p; //Line 3
printf("%s, %s n", s, p); //Line 4
}

A. Output will be Interveiw, Mania
B. You cannot assign pointer like in Line 3
C. Memory holding this is cleared at line 3
D. Memory holding this loses its reference at line 3
E. None of these
Answer» E. None of these


Discussion

No Comment Found