0
In the topic related to gets() why is that iam able to enter more than 2 characters even thought I changed the array size to 2
C programming
2 Answers
+ 3
Please mention in the tags for which language are you talking about?
You can edit your question by clicking on the upper right corner of your question.
0
...and that is why you shouldn't use gets()...you might overwrite something in memory...use fgets().