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 []);


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

Post New Answer

More C Interview Questions

What is structure packing in c?

0 Answers  


I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.

1 Answers  


Explain what are bus errors, memory faults, and core dumps?

0 Answers  


What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }

1 Answers  


Why doesnt that code work?

0 Answers  






By using C language input a date into it and if it is right?

0 Answers   Aricent,


Difference between MAC vs. IP Addressing

0 Answers  


How do I copy files?

0 Answers  


Write a code of a general series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 Answers  


What is a static variable in c?

0 Answers  


Explain how do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


Categories