FUNCTIONS PART-4 WITH ARGUMENT AND NO RETURN TYPE

 #include <iostream>

using namespace std;

void adharsh(int a,int c)

{

    cout<<a+c;

}

int main()

{

   adharsh(20,30); 

   return 0;

}

Comments

Popular posts from this blog

LIST ADT USING LINKED LIST

CLASSES CREATION

SORTING PROGRAM