Question: (2 points) Select: To declare a float pointer ptr, the following command is used: Select one: a. char *ptr; O b. int* ptr; O c.

 (2 points) Select: To declare a float pointer ptr, the followingcommand is used: Select one: a. char *ptr; O b. int* ptr;O c. float* ptr; d. file *ptr; (2 points) Select: Array Ais declared as: int A[5]= {0, 2, -6, 11, 5}, then *(A+1)=Select one: a. 2 b. 5 c. O O d. 1 Select:

(2 points) Select: To declare a float pointer ptr, the following command is used: Select one: a. char *ptr; O b. int* ptr; O c. float* ptr; d. file *ptr; (2 points) Select: Array A is declared as: int A[5]= {0, 2, -6, 11, 5}, then *(A+1)= Select one: a. 2 b. 5 c. O O d. 1 Select: (2 points) 2-Dimensional Array A[2][3] is declared as: int A[2][3]={{1, 2, 3},{9, 8, 7}}. To change the last element to 6 you type: Select one: O a. A[1][3]= 6 O b. A[1][2]= 6 c. A[2][2]= 6 d. A[3][3]= 6 Select: Consider the following: char str= "Welcome to ECET 264"; char* pstr=str; Then, fputs(pstr,stdout) will produce: Select one: a. Welcome CC33 b. O c. Error d. Welcome to ECET 264 O Select: 2-Dimensional Array A[2][3] is declared as: int A[2][3]={{1, 2, 3},{9, 8, 7} }; To change 8 to 6 you type: Select one: a. A[2][2]= 6 O b. A[2][1]= 6 O c. A[1][1]= 6 O d. A[1][2]= 6

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!