Answer:
int* calculate(int a,int b,int c){
int result[] = {0,0};
int sum = a+b+c;
int product = a*b*c;
result[0] = sum;
result[1] = product;
return result;
}
Explanation:
The function is a block of the statement which performs the special task.
The function can return one integer, not more than one integer.
If we want to return multiple values then, we can use array.
we store the result in the array and return that array to the main function.
This is the only possible way to return multiple values.
So, define the function with return type array and declare the array with zero value.
Then, calculate the values and store in the variable after that, assign to the array.
Finally, return that array.
Answer: Spread spectrum
Explanation:
In spread spectrum the data to be transmitted is spread over a wider bandwidth rather than fixed bandwidth.
Modular programming is the process of subdividing a computer program into separate sub-programs. Modularity provides flexibility in a structured programming design the following way: Modularity enables multiple programmers to work on a program at the same time. Correct answer: A
It provides developers flexibility in module maintenance.This makes the program easier to read and understand.
Answer:
6
Explanation:
The int functions founds down to the nearest whole number, which in this case would be 6.