+ 1
cout<<gets(stdin)
\\\\plz explain it along with header file
3 Answers
+ 1
can you post a code with this line that compiles cleanly please?
+ 1
cout is given an expression which in this case is a function call that returns a pointer to char containing a string. so gets is evaluated and the return value from gets is output.
does this help?