recategorized by
574 views

2 Answers

0 votes
0 votes
printf("i = %d, &i = %xx", i&i);

Number of tokens in the above C statement is 9. But I’ve made some modified please go through them.

I think the above C Statement has got an error at i&i, below is the modified C statement. Please check it out. 

printf("i = %d, &i=%xx", i, &i);

Number of tokens are 10. 

  1. printf
  2. (
  3. “i=%d,  &i=%xx”     // The whole phrase within the quotes is considered as single token
  4. ,
  5. i
  6. ,
  7. &
  8. i
  9. )
  10. ;

 

Answer:

Related questions

1 votes
1 votes
3 answers
3
gatecse asked Dec 9, 2020
633 views
In case of the dynamic programming approach the value of an optimal solution is computed in :Top down fashionBottom up fashionLeft to Right fashionRight to Left fashion
1 votes
1 votes
1 answer
4
gatecse asked Dec 9, 2020
434 views
Which of the following is not true for tree and graph?A tree is a graphA graph is a treeTree can have a cycleTree is a $\text{DAG}$