#include <iostream>
#include <fstream>

int testreturn(int a, int b){
   return(a==b) ? 1 : 0;       //a and b are local variables, confined here
}

int main(){

   //Initialize _ofs as an object of class ofstream
   std::ofstream _ofs;

   int a,b,result;  //Two integers
   a=2;
   b=3;

   //Simply tesing the conditional 1 if a=b and 0 if a ne b
   std::cout << "Test = " << (a==b) << "\n";

   //Now test return statement from the testreturn function
   result=testreturn(a,b);
   std::cout << "Testreturn = " << result << "\n";

}
