Question: This uses C QUESTION 4 For this array: int a[ ] = { 0, 1, 2, 3, 4) What is the length of this array?

This uses C QUESTION 4 For this array: int a[ ] ={ 0, 1, 2, 3, 4) What is the length of thisThis uses C

QUESTION 4 For this array: int a[ ] = { 0, 1, 2, 3, 4) What is the length of this array? 06 This code does not compile 04 O 5 QUESTION 5 What functions can you use to have a user input a string? fgets() input() Oscanf() O fscanf() QUESTION 6 This code is attempting to print out the string str in reverse. Which of the following for initialization statements will make this work correctly? int n = strlen( str); int 1; for( ; i >= 0; i--) printf("%c", str[ 1 ] ); O 1 != 0 O i = n - 1 i = 0 i =n QUESTION 7 What is the greatest index number for the following array? int nums [5]; 4 01 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!