Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Return type
what is the "return 0" is written in this way --> "retutn ()" like in c we write" getch()"
4 Respostas
+ 12
There is no built-in function such as return(). The return keyword is reserved only for one purpose.
+ 11
Those are totally different things. The return statement is used to return values to where the function is called. Main function returns value to the operating system. Function getch() is using to hold the console output screen until the user presses any key.
+ 2
oh yeah i recollect it... ty for it but what if i want to use return () instead of return 0...then how vll i use it or i can't use it
+ 1
Ohk