What is the most efficient way to count the number of bits which are set in an integer?


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

Post New Answer

More C Interview Questions

Explain what is operator promotion?

0 Answers  


9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?

4 Answers   L&T,


When should we use pointers in a c program?

0 Answers  


How do you use a 'Local Block'?

0 Answers   Ericsson,


main() { int a; a=++100; printf("%d",a); getch(); }

4 Answers  






What are the 32 keywords in c?

0 Answers  


why we use pointer in c

7 Answers   HCL, TCS,


What is the difference between printf and scanf )?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


What is the difference between formatted&unformatted i/o functions?

0 Answers  


Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments

6 Answers   TCS,


7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above

10 Answers   Accenture,


Categories