Hey, guys, I don`t know where is my mistake.
I don`t know where did I write something wrong.
Please help me. I am really new into C programming language.
Thank you!
Thanks a lot!![]()
Hey, guys, I don`t know where is my mistake.
I don`t know where did I write something wrong.
Please help me. I am really new into C programming language.
Thank you!
Thanks a lot!![]()
Maybe
This is the correct form for where name is an array of char.Code:scanf("%s",name);
Or perhaps what you tried, but got the wrong special character (it's & not %)
Code:scanf("%s",&name);
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.