Home » C++ Programming » Functions

What will be the output of the following program? #include<iostream.h> void MyFunction(int a, int b = 40) { cout<< " a = "<< a << " b = " << b << endl; } int main() { MyFunction(20, 30); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!