C Programming! scanf() VS fgets() VS gets() Which ones better?

preview_player
Показать описание
PIEAS (Pakistan Institute of Engineering and Applied Sciences)
Рекомендации по теме
Комментарии
Автор

When using fgets in a loop, it doesn't take a new string, it scans from where it left in the previous string. Any idea how to solve that?
Great video btw

zakijabbour
Автор

What is the " _getch() " in the line above return 0 ? Quickly reply please.

shambukarijayanth
Автор

you ended never use fgets, never use scanf functions. but if thats so whats your opinion? thanks sir anyways

AaronNevalinz