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
Explain how do I determine whether a character is numeric, alphabetic, and so on?
code for replace tabs with equivalent number of blanks
Explain logical errors? Compare with syntax errors.
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is p in text message?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
c language interview questions & answer
what is the basis for selection of arrays or pointers as data structure in a program
Explain how do you list files in a directory?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is assert and when would I use it?
Why do we use pointer to pointer in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Difference between goto, long jmp() and setjmp()?
What is a program?