Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

With the statement, int prices[] = [5,10,75.99,50); What is the name of the array? O prices int 0 (5.10.75,99.50) With the statement, int values[10] =

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

With the statement, int prices[] = [5,10,75.99,50); What is the name of the array? O prices int 0 (5.10.75,99.50) With the statement, int values[10] = {0,1,2,3,4,5); What is the size of the array? 06 O 10 unknown With the statement, int grades[] = {70,80,90,100,50); What is statement to print array element 80? O printf("%d", grades[2]); O printf("%d", &grades[1]); printf("%d". grades(11): printf("%d", &grades[2]); With the statement, int grades[] = [70,80,90,100,50]: what is statement to change the array element 70 to 757 grades[1]=75: O grades(0)=75: O grades[0]=75; O grades(1)=75; With the statement, int grades[] = [70,80,90,100,50); What is statement to assign user input to array element 100? O scanf("%d", &grades[4]); scanf("%d", grades[4]); O scanf("%d", &grades[3]); scanf("%d", grades[3]); With the statement, int values[10] = [1,2,3,4,5); printf("%d" values[8]); What is the output? 08 O runtime error O9 With the statement int values[][]={{1,2,3,4,5) (6,7,8,9,10)); What is the array size? O values[1][101 O values[5][2] O values[2][5] O values(10||1| With the statement, int values[][]={{1,2,3,4,5),(6,7,8,9,10}}; What is the statement to display array element 3? O printf("%d", values[0][2]); O printf("%d" values[1][2]); O printf("%d" values[2][1]); O printf("%d". values[2][0]); With the statement, int values[][={{1,2,3,4},{5,6,7,8).19,10,11,12}}; What is the statement to assign to change the array element 9 to 90? O values[1][3]=90; values[2][0]=90; values[0][2]=90; O values[3][1]=90; With the statement, int values[]={{1,2,3,4),(5,6,7,8),(9,10,11,12).(13,14,15,16).[17,18,19,20}}; printf("%d", values[2][3]); What is the output? 0 10 012 07 o 15 With the statement, int values[2][41={{1,2,3,4},{5,6,7,8]}; What is the statement tor assigning user input to array element 3? O scanf("%d", &values[3][1]); scanf("%d". &values[0][2]); O scanf("%d", &values[1][3]): Oscanf("%d", &values[2][0]); With the statement, double prices[2][4] = {{19.75,10.50,99.99,50.25),(1.75,0.99,70.25,80.45}]; What is name of the array? 1214 prices O [[19.75.10.50,99.99,50.25).(1.75,0.99,70.25.80.45}} double In the statement, Line 1: int values[2][4]= {{5.10.15.20}{3,6,9,1]]; Line 2: printf("%d", values[2][1]); values[2][1] in Line 2 will cause a runtime error. True O False

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

9. Power and politics can be destructive forces in organizations.

Answered: 1 week ago