Home > Back-end >  C functions through from the keyboard input string to character pointer assignment, but it is not al
C functions through from the keyboard input string to character pointer assignment, but it is not al

Time:10-16

CodePudding user response:

Beg god for help

CodePudding user response:

Void f (char *); Put the main top try? Moreover, a, b, c is wild pointer, and no assignment

CodePudding user response:

Printf statements specified output two strings, but f () function returns the void type, also is not return
So the printf function at the back of the two parameters is wrong about this

[100] char a, b [100], c [100];
F (a);
F (b);
Printf (" % s % s ", a, b);
Such ability can

CodePudding user response:

Defines a pointer assignment again, this is the wild pointer
  • Related