void *getMem(){ char ptr[] = "Hello C/C++ programming"; return ptr;}main(){ char *str = NULL; str = getMem(); printf("%s\n", str);}
No comments:
Post a Comment