Search
 
SCRIPT & CODE EXAMPLE
 

CPP

why return 0 in int main

//So return 0 just give command to compiler that here code end ...
int main()
{
    cout<<"Yes";//->this will print as its before return 0 written.
    return 0;
    cout<<"Nope";//->this will not print as its after return 0 written.
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: custom slider cpt wordpress theme 
Cpp :: nested conditional operator 
Cpp :: how to make a pointer point to a the last value in an array 
Cpp :: c++ create function pointer 
Cpp :: if in c++ 
Cpp :: C++ Vector Operation Delete Elements 
Cpp :: how to take input in 2d vector in c++ 
Cpp :: build a prefix array cpp 
Cpp :: c++ power of two 
Cpp :: find second largest number in array c++ 
Cpp :: use declaration to define a variable 
Cpp :: calling by reference c++ 
Cpp :: cpp compare strings 
Cpp :: std::enable_shared_from_this include 
Cpp :: gcd of two numbers 
Cpp :: print numbers after decimal point c++ 
Cpp :: stack implementation 
Cpp :: object inside class c++ 
Cpp :: how to make c++ read strlen 
Cpp :: c++ fstream read line write ,creat file program 
Cpp :: pointer in cpp details 
Cpp :: c++ localtime unsafe 
Cpp :: 10^18 data type in c++ 
Cpp :: ternary operator rsut 
Cpp :: CPPDEVELOPER 
Cpp :: c++ to mips assembly converter 
Cpp :: product of array in cpp 
Cpp :: c++ abs template 
Cpp :: c++ sort cout end 
Cpp :: sfml get position 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =