1.
What will be the output of given program code? main() { char province[] = "Sindh"; char s[80]; strcpy(s, "Hyderabad"); strcat(s, " and "); strcat(s, province); cout << s; }
Show answerJawab dekhein
Hyderabad and Sindh (strcpy copies "Hyderabad" into s, the first strcat appends " and ", the second appends "Sindh".)