edited by
1,280 views
0 0 votes
for(i=10;i<10;++i)

printf("%d"  i&1)

prints

<ol style="list-style-type:upper-alpha"><li>  0101010101 </li><li>  0111111111 </li> <li> 0000000000 </li>  <li> 1111111111  </li></ol>

1 Answer

1 1 vote

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.

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
1.3k
1.3k views
Jyoti Kumari97 asked Nov 21, 2018
1,307 views
Options are73396109360 Answer given in book is 109.Can anyone tell me how ?3 Consider the following program: #define funct (%) %*%*%int main(){int %;x=36+\mathrm{ Eunct...
0 0 votes
0 0 answers
587
587 views
aaru14 asked Nov 28, 2017
587 views
how it will be solve plz someone help?(b) $0 \leq f(n)0, \forall n \geq n_{0}$(c) $0 \leq C_{1} f(n) \leq C_{2} g(n) \forall n \geq n_{0}$ suc \& $n_{0}$ are +ve constant...
0 0 votes
0 0 answers
1.6k
1.6k views
Jyoti Kumari97 asked Nov 25, 2018
1,615 views
What is the number of collisions while doing insert operation on the hash table? Options are 3456Answer is 4Can anyone tell me how? ​​(d) None of these09 with hash funct...
0 0 votes
1 answers 1 answer
892
892 views
Akashh raj asked Jul 19, 2018
892 views
#include<stdio.h>#define funct(x) x*x+xint main(){ int x; x=36+funct(5)+funct(3); printf("%d",x); return 0;}