Consider the following code segment What will be the output of-02537
Consider the following code segment. What will be the output of following code?<br>Int addValue (int *a){<br>int b = (*a) + 2;<br>return b ;<br>}<br>main () {<br>int x =6 ;<br>cout << x << "," ;<br>cout << addValue('x') << "," ;<br>cout << x ;<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.2.