Yes you are right about strcpy ... if we put this statement ->
strcpy(str1, strcpy(str2, "abcd"));
into main() .... main is the caller of strcpy. Not strcpy itself . We simply call strcpy...
Type: Posts; User: Mr.Lnx
Yes you are right about strcpy ... if we put this statement ->
strcpy(str1, strcpy(str2, "abcd"));
into main() .... main is the caller of strcpy. Not strcpy itself . We simply call strcpy...
Hello to all.
According to documentation the code below produces undefined behaviour?
#include<stdio.h>
#include<string.h>