Question: in c languge B: Consider the following program #include> void printChars(char *city) while ( city !=10) } printf(%clt,*city); city++; 3 int main 0 char myCity[7]=AMMAN
B: Consider the following program \#include> void printChars(char *city) while ( city !=10) \} printf("\%clt",*city); city++; 3 int main 0 char myCity[7]="AMMAN" ; printChars(myCity); return 0 ; \} 1: Run the program and write down the obtained result. Try to understand how it works. 2: Modify the program to count and display the number of characters in the string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
