Power By Dholu Production

Responsive Ads Here

Tuesday, April 24, 2018

WAP to illustrate the concept of call by value|C++


CODE:
#include <iostream> 
using namespace std; 
void change(int data); 
int main() 

int data = 3; 
change(data); 
cout << "Value of the data is: " << data<< endl; 
return 0; 

void change(int data) 

data = 5; 
}