value = 0xabcd;
for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) {
foo();
if (loop & 1)
value >>= 1;
}
how many times is foo() executed?
Answer Posted / kartik
how it can execute 5 times
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Write a program which returns the first non repetitive character in the string?
How can a program be made to print the name of a source file where an error occurs?
Why should I prototype a function?
Is it better to use malloc() or calloc()?
What is use of #include in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What was noalias and what ever happened to it?
Explain what is the difference between far and near ?
What is meant by type casting?
The difference between printf and fprintf is ?
Explain is it valid to address one element beyond the end of an array?
Explain low-order bytes.
What is the use of void pointer and null pointer in c language?
What should malloc() do?
Why do we use stdio h and conio h?