Question: Question 1 It is a block of code that performs a specific task. Array Function Main Source Code Check It! Question 2 These functions are






Question 1 It is a block of code that performs a specific task. Array Function Main Source Code Check It! Question 2 These functions are built-in functions in C programming and are defined in header files. (Choose all correct answers) User-defined Functions Standard Library Functions Predefined Functions Functions Check it! Question 3 Which header file supports the predefined function printf? studio.h stdio.h conio.h math.h ctype.h Check It! Given the codes below: int compute(int firstValue, int secondValue){ int result=0; result = firstValue + secondValue; return result; } Which statement/s is/are correct? The return statement in compute function can be omitted without getting any error. The compute function can return any data type value. The compute function can only accept two parameters of type int The correct function call for compute function is: compute(10,0); The correct function call for compute function is: compute(10.0): The type int of compute() function CAN'T be replace by void otherwise, you will be getting an error. The compute function can return int value. The compute function can accept any number of parameters as long as they are type of int. Question 5 Parson's Problem Rearrange the code blocks below into the proper order to meet the below criteria by dragging drop them in the yellow box below. The program will compute for the average of the 3 numbers. Note: NOT all of the code blocks will be used. Consider the proper indention of codes. Drag from here print("Average : %d", computeAverage (5,10)); int computeAverage(int x, int y, int z){ #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
