gets() gets is a more convenient method of reading a string of text containing whitespaces. Unlike scanf(), it does not skip whitespaces. It is used… Read More »
The post scanf(“%[^\n]s”, str) Vs gets(str) in C with Examples appeared first on GeeksforGeeks.
scanf(“%[^\n]s”, str) Vs gets(str) in C with Examples
Reviewed by Shoaib Khan
on
September 25, 2019
Rating:
No comments: