Q.

What is output of below program?
int main()
{
int i,j;
for(i = 0,j=0;i<5;i++)
{
printf("%d%d--",i,j);
}
return 0;
}

A. 0--01--12--23--34--
B. 00--10--20--30--40--
C. Compilation Error
D. 00--01--02--03--04--
Answer» B. 00--10--20--30--40--
2.2k
1
Do you find this helpful?
15

Discussion

V

Vishnu
2 years ago

Nothing about u
0