C
Programming and Technical
Programming
Technical
integer i=0,j
while( i < 2 )
{
j = 0;
while ( j <= 3*i )
{
print j
print blank space
j = j + 3
}
print end-of-line //takes the cursor to the next line
i = i + 1
}
What will be the output of the program?
Read Solution (Total 7)
-
- 0 when i=0
0 3 when i=1
so total answer is:
0
0 3
- 9 years agoHelpfull: Yes(9) No(0)
- it will print the value of j as 0
first it checks j - 9 years agoHelpfull: Yes(2) No(0)
- it will print a series of 0 3 0 3 3 6
- 9 years agoHelpfull: Yes(1) No(1)
- it will output as 0 3
0
- 9 years agoHelpfull: Yes(1) No(0)
- o
3
only j is printed - 9 years agoHelpfull: Yes(0) No(0)
- soumya right ur answer alsooo...so dat we should b confirmed by ans
- 9 years agoHelpfull: Yes(0) No(0)
- it will print 0 3
1 - 9 years agoHelpfull: Yes(0) No(0)
C Other Question