+ 2
C++
I was using JavaScript and in it you can use variable even before declaring it because during compiling it JavaScript shifts all variables to upside. Is this thing also followed in c++.
2 Answers
+ 3
No it's not.
You must declare variables first before using them
+ 1
Thanks for help.