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
what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(“ %d\n”,sum); } what is the difference between a=10 and a=010??
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }
Explain the difference between #include "..." And #include <...> In c?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is the right type to use for boolean values in c? Is there a standard type?
a program that can input number of records and can view it again the record
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
Can you write the function prototype, definition and mention the other requirements.
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Write a C function to search a number in the given list of numbers. donot use printf and scanf
What is a memory leak in structures? How can we rectify that?