FUNCTIONS PART 3 WITH ARGUMENT AND WITH RETURN TYPE

 #include <iostream>

using namespace std;

int adharsh(int a,int c)

{

    return(a+c);

}

int main()

{

   cout<<adharsh(20,30); 

   return 0;

}

Comments

Popular posts from this blog

LIST ADT USING LINKED LIST

CLASSES CREATION

SORTING PROGRAM