edited by
710 views
0 votes
0 votes
for(i=10;i<10;++i)

printf("%d"  i&1)

prints

(a) 0101010101

(b) 0111111111

(c) 0000000000

(d) 1111111111
edited by

1 Answer

1 votes
1 votes

Prints nothing, Because look at the condition in FOR loop , it's says i <10 , so condition false in first check only it won't enter the for loop.

No printf statement will execute. Nothing will print. 

 

Look at the output in above window 

All options are wrong.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
3
Jyoti Kumari97 asked Nov 25, 2018
582 views
What is the number of collisions while doing insert operation on the hash table? Options are 3456Answer is 4Can anyone tell me how? ​​
0 votes
0 votes
1 answer
4
Akashh raj asked Jul 19, 2018
662 views
#include<stdio.h>#define funct(x) x*x+xint main(){ int x; x=36+funct(5)+funct(3); printf("%d",x); return 0;}