Question: With the statement, int grades[] = {70,80,90,100,50}; What is statement to assign user input to array element 70? a. scanf(%d, grades[0]); b. scanf(%d, grades[1]); c.
With the statement, int grades[] = {70,80,90,100,50}; What is statement to assign user input to array element 70? a. scanf(%d, grades[0]); b. scanf(%d, grades[1]); c. scanf(%d, &grades[0]); d. scanf(%d, &grades[1]);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
