136k views
4 votes
What value is returned by the following return statement?

int x = 5;
return x + 1;
a. 0 b. 5
c. 6 d. 7

User BonCodigo
by
8.0k points

1 Answer

5 votes
The answer is C. 6 g
User Fenhl
by
7.4k points