KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have written the following piece of code: int main() { char arrays[12]; char *pointers; scanf("%s", arrays); scanf("%s", pointers); printf("%s", arrays); printf("%s", pointers); return 0; } Why does it give an error when I write scanf("%s", pointers) ?
Tags (comma-separated)
Save Edits
Cancel