1. Will the program compile successfully? #include<stdio.h> int main() { char a[] = "India"; char p = "BIX"; a = "BIX"; p = "India"; printf("%s %s\n", a, p); return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.02 pm
Because we can assign a new string to a pointer but not to an array a.