I = 0; j = 0; for(j=1;j<10;j++) i=i+1; In the (generic) code segment above what will be the value of the variable i at completion ?

A) 0
b) 1
c) 3
d) 9
This question is related to BirlaSoft Interview

Showing Answers 1 - 11 of 11 Answers

Rajan

  • May 31st, 2005
 

The Value of i is 9

  Was this answer useful?  Yes

Abhishek Banerjee

  • Oct 12th, 2005
 

d

  Was this answer useful?  Yes

manish

  • Apr 7th, 2007
 

ans of this question is calculated as 9

  Was this answer useful?  Yes

Himadri Sekhar Das

  • Apr 29th, 2007
 

the answer is  :        9

  Was this answer useful?  Yes

phanimadhavi1

  • Jun 10th, 2007
 

The answer for i is 9

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions