0
Why "scanf" is not compiling, in this code. Please solve this and explain what is wrong in this code
4 Respostas
+ 3
You code is in C++ language
0
To read through scanf here in c++, you need atleast one cin statement... Otherwise it won't work properly..
0
https://code.sololearn.com/cq794rLs38SA/?ref=app
What's wrong in this code
0
Pankaj
cin>>&n; Its not correct in cpp
Just put
cin>>n; //no need of &