Question: in c please thank you with pointers questions, which are intended to prepare you for the coming lab, Experiment la A: Consider the following_nrogram: Hinclude

in c please thank you with pointers  in c please thank you with pointers questions, which are intended
to prepare you for the coming lab, Experiment la A: Consider the

questions, which are intended to prepare you for the coming lab, Experiment la A: Consider the following_nrogram: Hinclude cstdio, p> int main0 int aa: int aPtr a =7 aPtr = \&aa; printf(")/adin", "aPtr); printf( pp ,aPPr); return 0; 1: Run the program and write down the obvained result. Can you understand the result for each output statement? 2: Modify the program to print the address of aa without using a pointer. B: Consider the follewing program \#includesstdio.h> void printChars(char "city) while (*ciry != * 0) \{ printf("\%cit, "city); city+t; int main () char myCity[7]="AMMAN" : nrint Charsimarlitul. elearning.psut.edu.jo 2: Modify the program to print the address of aa without using a pointer. B. Consider the following program Hincludesstdio.h> void printChars(char "city) while ( city =0) \& printf("\%) t, ccity): 2 city + : int main 0 char myCity[7]-"AMMAN" : printChars(myCity): feturn . 0 ; 1 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 namber of characters in the string

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!