Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. int main(void) {
  2. char *pc; // Note que *pc não possui nenhum valor (não foi inicializado!)
  3. char str[] = "Cadeia";
  4. strcpy(pc, str); /* erro! pc indeterminado */
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement