What will be the output of the following code snippet?
#include <stdio.h>
#include<string.h>
void solve() {
    char s[ ] = "Hello";
    printf("%s ", s);
    char t[40];
    strcpy(t, s);
    printf("%s", t);
}
int main() {
    solve();
 return 0;
}






Posted on by