inp[16];     printf(“Enter value for your %s: “, tag);      gets(inp);

void hello(char *tag){      char inp[16];     printf(“Enter value for your %s: “, tag);

     gets(inp);
printf(“Hello your %s is %sn”, tag, inp);
}
 
hello(“message”) produces an output of this form:
 
Enter a value for your message: test                                             (çinput from user)
Hello your message is test                                                             (çoutput from hello)
a.    What do you expect the program to do if a user enters the following input: abcdefghijklmnopqrstuvwxyz?

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

The post inp[16];     printf(“Enter value for your %s: “, tag);      gets(inp); appeared first on Superb Professors.

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"