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 discover how many arguments a function was actually called with?
Why we use break in c?
List the variables are used for writing doubly linked list program.
what is the structure pointer?
Why is structure padding done in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How do you determine whether to use a stream function or a low-level function?
How do you define a function?
What is pointers in c?
Why does notstrcat(string, "!");Work?
I need a sort of an approximate strcmp routine?
all c language question
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Explain Function Pointer?