Output of the code snippet will be?#include stdio.h#includestring.hvoid solve(){char s[] = "GMIT";printf("%s ", s);char t[40];strcpy(t, s);printf("%s", t);}int main() {solve();return 0;}
What is the output of the program#include stdio.h int main(){int al ] = {1, 2, 3, 4};int sum = 0;for (int i = 0; i 4; i++)sum+=a [1];}printf ("'d", sum);return 0;}
void show();int main(){show();printf("INDIA");return 0;}void show(){printf("USA");}