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 / ismail
its not 5 its will be 7 !!!!!
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Should I learn data structures in c or python?
When should structures be passed by values or by references?
What is indirection?
Why is a semicolon (;) put at the end of every program statement?
What is the purpose of the statement: strcat (S2, S1)?
How can I prevent another program from modifying part of a file that I am modifying?
How many types of operators are there in c?
Explain what is a pragma?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What are extern variables in c?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Is the exit() function same as the return statement? Explain.
Explain enumerated types in c language?