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
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }
What is the difference between Printf(..) and sprint(...) ?
What are the primitive data types in c?
1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do
1 Answers AAS, Nagarro, Vuram,
CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.
How do you define a function?
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
What is the role of && operator in a program code?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is the purpose of the statement: strcat (S2, S1)?
#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
Process by which one bit pattern in to another by bit wise operation is?