Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books