wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

What is the output after for loop executes for (i =0; i<10;++i)
Printf("%d", i &1);

A
01 01 01 01 01
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
01 11 11 11 11
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
00 00 00 00 00
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
11 11 11 11 11
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon