#includestdio.h#includestring.hint main(){char str1[6]="HELLO";char str2[4];strncpy(str2,str1,sizeof(str2));printf("%s",str2);return 0;}
Not registered? Create an account
Forgot Password?
Already a registered user? Login