+ 1
Output is 11. But I didn't understand how. Plz explain..
public static int giveAns (int a, int) { int c = a ; for ( c=a ; c<b ; c++ ) { c += c ; } return c; }
3 Answers
+ 3
No output
+ 2
This is a function, would not output value alone.
+ 1
Oh yea function.. ri8
but whats output...?