1.

Point out the error in the program. #include #define MAX 128 int main() { char mybuf[] = "India"; char yourbuf[] = "BIX"; char const *ptr = mybuf; *ptr = 'a'; ptr = yourbuf; return 0; }

A. Error: cannot convert ptr const value
B. Error: unknown pointer conversion
C. No error
D. None of above
Answer» B. Error: unknown pointer conversion


Discussion

No Comment Found