Question: Refer to the code given below. #include stdio.h> int main(void) char c; int num, i; printf(Enter the character you like to print: ); scanf( %c,

 Refer to the code given below. #include stdio.h> int main(void) char

Refer to the code given below. #include stdio.h> int main(void) char c; int num, i; printf("Enter the character you like to print: "); scanf(" %c", &c); printf("Enter the number of lines you want to print: "); scanf ("Sd", &num); for(i-1,1)snum; i++) printf("* %c * ", c); return e; Assume that the user has entered the below data: Enter the character you like to print: # Enter the nunber of characters you want to print: 3 What will be the output of the above code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!