Question: c program shortanswers only please 5) Given the following program: Hinclude stdio.h> int main(void) char ch; ch =n ; ch=ch+1;/ line 6 printff Now ch
5) Given the following program: Hinclude stdio.h> int main(void) char ch; ch =n "; ch=ch+1;/ line 6 printff "Now ch = Fcln", ch); return 0 ; Please explain the type conversion of viable ch in the statement on line 6 during the running. Answer: 6) Given the following program \#include void pound(int n); / ANSI prototype int main(void) 1 int times =3; float f=5.0; pound(times); pound ((int))f; return 0 ; pound(int n ) 1 void pound(int n ) while (n>0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
