Question: C Code Q1): Write a function called roundNum that rounds a floating point number to the nearest integer. For example for the following inputs, we
C Code
Q1): Write a function called roundNum that rounds a floating point number to the nearest integer. For example for the following inputs, we should get the corresponding output: 5.3 -> 5 6.7 -> 7
Q2) Write a function that inserts a value into an arbitrary position of an array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
