why do we write return 0 in c program code example
Example 1: why do you need the return 0 c
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
Example 2: return 0; c++
// This example gives a reason why you should use using namespace std
#include <iostream>
using namespace std;
cout << "Hello "<<endl; /* this one is shorter*/
// without the using namespace std you will need to use this
std::cout <<"Hello"<<std::cout<<endl /* this one is longer
and it requires shorter amount of time */