Write a function name five which has no arguments no input a
Write a function name five, which has no arguments (no input), always return the integer 5.
Language is c++
Solution
Solution.cpp
#include <iostream>//header file for input output function
using namespace std;//it tells the compiler to link stdnamespace
int five();//function declaratin
int main()
{//main function
five();//calling function
return 0;
}
int five()
{//function definition
cout<<\"5\"<<endl;
return 5;
}
output
5
