write a programming in c to find the sum of all elements in
an array through function.
No Answer is Posted For this Question
Be the First to Post Answer
What is variables in c?
how many times of error occur in C
can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
Which is best linux os?
In a switch statement, explain what will happen if a break statement is omitted?
where does it flourished?
Why preprocessor should come before source code?
what is meant by c
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee