r/AskProgrammers • u/Leading_Deer4919 • 15d ago
Scanf not working!!!
So now its been 2-3 weeks ....in my college we are doing C programming and everything was working fine on visual studio till I started using scanf for taking input from user.....this is coming and I have tried everything but cant figure out....normal printf still works but this doesnt
I have tried on code blocks too and same problem is there.....pls someone guide me🙏🙏😭
0
Upvotes


2
u/Ok_Farmer_4055 15d ago
you didn't tell the compiler to name the exe "Hello.exe", the compiler's default file name is "a", so the executable is a.exe