Mega Code Archive
Categories
/
C
/
Code Snippets
Chars pointers pointer
#include
int main(void) { char *p, **mp, str[80]; p = str; mp = &p; printf("Enter your name: "); gets( *mp ); printf("Hi %s", *mp); return 0; }