If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block?
Consider the following code segment. What will be the output of following code? Int addValue (int *a){ int b = (*a) + 2; return b ; } main () { int x =6 ; cout << x << “,” ; cout << addValue(&x) << “,” ; cout << x ; }.