Answers for "pass a value to the function parameter while calling the function"

C++
0

pass a value to the function parameter while calling the function

int main() {
    int n = 7;
    
    // calling the function
    // n is passed to the function as argument
    printNum(n);
    
    return 0;
}
Posted by: Guest on May-03-2021

Code answers related to "pass a value to the function parameter while calling the function"

Browse Popular Code Answers by Language