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

what is the use of using linked list and array?

10 Answers   Infosys, TCS,


Juxtapose the use of override with new. What is shadowing?

1 Answers  


What is extern storage class in c?

0 Answers  


what is output of the following statetment?Printf(“%x”, -1<<4); ?

5 Answers  


write a programme to convert temperature from farenheit to celcius?

4 Answers   IBM,






is compiler do read the data line by line or not. ??

6 Answers   LG Soft, Satyam, Tech Mahindra,


write a program to generate 1st n fibonacci prime number

12 Answers  


to convert a string without using decrement operater and string functions

1 Answers  


to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E &#133;&#133;.. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,&#133;&#133;&#133;&#133;.].

2 Answers   Infosys, TCS,


How to explain the final year project as a fresher please answer with sample project

0 Answers  


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


how to print this pyramid * * * * * * * * * * * * *

2 Answers  


Categories