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
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Mention four important string handling functions in c languages .
What are types of preprocessor in c?
what is the format specifier for printing a pointer value?
What is volatile variable how do you declare it?
Can the size of an array be declared at runtime?
How do I get an accurate error status return from system on ms-dos?
what is the difference between 123 and 0123 in c?
while initialization of array why we use a[][2] why not a[2][]...?
What is strcmp in c?
Do string constants represent numerical values?
How can you convert integers to binary or hexadecimal?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is the process to create increment and decrement stamen in c?
What is const volatile variable in c?