Thread
:
Reading string in subfunction does not work
View Single Post
Chong
Go4Expert Member
6Feb2013,19:18
Hi
As a quick fix, put fflush(stdin); immediately after your scanf("%d",&x);
shabbir
like this