Consider the following code segment What will be the output of-02708
Consider the following code segment. What will be the output of the following program?<br>int func(int) ;<br>int num = 10 ;<br>int main(){<br>int num ;<br>num = 5 ;<br>cout << num ;<br>cout << func(num) ;<br>}<br>int func(int x){<br>return num ;<br>}
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Final Term - Quiz No.19.