Question: 6. Find program output (16p) a) (8p) What is the output of the printf statements below? [Show all the details for full credits] #include> void

6. Find program output (16p) a) (8p) What is the output of the printf statements below? [Show all the details for full credits] \#include> void main 0\{ int array [6]={6,1,4,8,9}; int i,j, templ, temp2; b) ( 8p) What is the output of the printf statements below? [Show all the details for full credits] \#include> \#include stdlib.h> void main0\{ int num 1=7 int num 2=13; while(num 2:=0){ if (numl >=0 ) num 1+=2; break; 3 else \{ if (num1%3=0){num1=1; \} else num 1++; \} num2--; \} printf(" nNum1=%d, Num 2=%d ", num 1 , num 2 ); 3 output of the printf statements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
