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
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Can a variable be both constant and volatile?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Who developed c language?
Can we declare a function inside a function in c?
What is the difference between int main and void main in c?
Is c weakly typed?
How to delete a node from linked list w/o using collectons?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
The statement, int(*x[]) () what does in indicate?
in iso what are the common technological language?
What is the scope of an external variable in c?
In which layer of the network datastructure format change is done
Is exit(status) truly equivalent to returning the same status from main?
What is assignment operator?