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 / guest
5 times
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which type of language is c?
What is the use of typedef in structure in c?
What is the difference between malloc() and calloc()?
Where are local variables stored in c?
Why c is called free form language?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What are the complete rules for header file searching?
What is optimization in c?
State the difference between realloc and free.
What is data types?
Can we declare function inside main?
How are strings stored in c?
What is the role of this pointer?