1.

What will be the output of the program ?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ char str[] = "Nagpur";_x000D_ str[0]='K';_x000D_ printf("%s, ", str);_x000D_ str = "Kanpur";_x000D_ printf("%s", str+1);_x000D_ return 0;_x000D_ }

A. Kagpur, Kanpur
B. Nagpur, Kanpur
C. Kagpur, anpur
D. Error
Answer» E.


Discussion

No Comment Found