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
write a sorting prgm to sort 50 nos and sum them and also
remove all the occurrences of 15 and print it?
write a program that declares an array of 30 elements named "income" in the main functions.
then cal and pass the array to a programmer-defined function named "getIncome"
within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen
using the following function:
"void getIncome ( ai );
struct stu s;
union uni u;
what is value of j and k.
How to delete a node from linked list w/o using collectons?
Write a C++ program to generate 10 integer numbers between -
1000 and 1000, then store the summation of the odd positive
numbers in variable call it sum_pos, then find the maximum
digit in this variable regardless of its digits length.
what are # pragma staments?
what is associativity explain
what is the precidence for * and & , * and ++
how the folloing declaration work
what is reason of your company position's in india no. 1.
if p is a string contained in a string?
write a program which the o/p should b in such a way that s
triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon
if I/P=5 and so on...forget about the I/P which is less
write a program for the normal snake games find in most of
code for find determinent of amatrix
i got 75% in all semester am i eligible for your company
#define f(g,h) g##h
print f ("%d"f(var,10));}
wat would be the output??
Write a function expand(s1,s2) that expands shorthand
notations like a-z in the string s1 into the equivalent
complete list abc...xyz in s2 . Allow for letters of either
case and digits, and be prepared to handle cases like a-b-c
and a-z0-9 and -a-z.