Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Call by value in C++

PRINCIPLES OF PROGRAMMING LANGUAGES

PRACT. Write a program in C++ to implement call by  value parameter passing Methods.
#include <iostream>
using namespace std;
void show(int x)
{
    cout<<x<<endl;
}
int main()
{
    int age = 20;
    show(age);
    show(10);
    return 0;
}

Leave a Comment