Question: C programming language pls Question 1 (10 marks) Predict the results that source code will produce when executed. Show the output by writing the result.
Question 1 (10 marks) Predict the results that source code will produce when executed. Show the output by writing the result. *Note: The equivalent decimal value of the character 'F' is 70. char str[1- I'A', 'B', 'C', 'D', 'E', 'F', 'G'); char *p = str + 5; while ((p) > str) printf("%c", *p--); 3 Question 2 (20 marks) Predict the output of the source code (write the answer) and illustrate (analyse) the codes for any given input. What is the operation of the program? double func(int arg, ...) double num0; int a-01 va_list ap: va_start (ap, arg); for (int i -1; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
