Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not)
- The array length is arbitrary
- output the results to the stdout


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

how to print value of e(exp1)up to required no of digits after decimal?

1 Answers  


write a program to interchange the value between two variable without using loop

1 Answers  


Tell me what are bitwise shift operators?

0 Answers  


What is a union?

0 Answers  


every function has return the value?

1 Answers  






Why is c called a structured programming language?

0 Answers  


Once I have used freopen, how can I get the original stdout (or stdin) back?

0 Answers  


Give me basis knowledge of c , c++...

5 Answers  


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


Why c is procedure oriented?

0 Answers  


What does %d do?

0 Answers  


Why we use break in c?

0 Answers  


Categories