What will the function func return ? x--; y--; return(x+y); } options are...given as...follows.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What will the function func return ? x--; y--; return(x+y); } options are...given as...follows..

1. the sum of x and y. 2.the sum of the decrement ed value of x and y. 3.returns a pointer to the sum of the decremented value of x and y. 4 . Compilation Error return value type does not match the function type.

29th Jul 2017, 3:14 PM
RUNALI PANCHAL
RUNALI PANCHAL - avatar
1 Answer
+ 2
Are these challenge questions? If so, you can view the correct answer in the challenge results section. (By clicking on the challenge that ended). You never wrote the signature of the function, so I assume the answer is 4.
29th Jul 2017, 3:41 PM
Rrestoring faith
Rrestoring faith - avatar