Question: 1) Write comments next to each line in order to explain what the code is doing? #include char (uy) (char a); int main() { char
1) Write comments next to each line in order to explain what the code is doing?
#include
char (uy) (char a);
int main()
{
char p;
p = '1';
printf("Value of p is %c ", uy(p));
return 0;
}
char (uy) (char mmm)
{
char x;
x = mmm + mmm;
return x;
}
2) Rewrite the code given in Question 1 when the function prototype changes to char (uy) (char*);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
