What's wrong here? I can't run the program. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's wrong here? I can't run the program.

#include <stdio.h> int main() { char a[100]; gets(a); printf("You entered: %s", a); return 0; }

4th Aug 2020, 2:18 AM
S M Rakibul Alam
S M Rakibul Alam - avatar
2 Answers
0
Please right the program with correction
4th Aug 2020, 10:23 AM
S M Rakibul Alam
S M Rakibul Alam - avatar
0
Well said.. then if that function "gets" is removed from C/C++ then why it isn't updated to lessons?
4th Aug 2020, 10:51 AM
S M Rakibul Alam
S M Rakibul Alam - avatar