String Initialization Pointer on January 04, 2019 Get link Facebook X Pinterest Email Other Apps #include<stdio.h> int main() { char ch[20], an[20]; gets(ch); gets(an); int *p; p = &ch; printf("%s\n", ch); p = &an; printf("%s\n",an); return 0; } Comments
Comments
Post a Comment