×
BLUE
adding two Numbers by using C++ Functions


adding two Numbers by using C++ Functions
  20 April 2021
Read more Like this Post.
simple code of function practice.
this is the practice of C++ function in the code we call a function which take two parameters ( a ) and ( b ) and this function return the sum of the integers.
#include 
using namespace std;
  int sum(int x, int y){
  return x+y;
}
int main(){
   cout << sum(5, 15);
   //output is 20
   return 1;
}
Related Post's

C++   cpp: functions   practice  
Not Loaded Zohaib Jozvi
2 20 April 2021
Read Latest Post.
Read other post.