Answered You can hire a professional tutor to get the answer.

QUESTION

Question 12 ( 1 point ) Which of the following will create an array of 2 elements and assign the second one to 5 ?

Hi please answer this question.

Thanks!!!

aaaaaaaaaaaaaaa

bbbbbbbbbbbbbbb

cccccccccccccccc

dddddddddddddd

Question 12 ( 1 point )Which of the following will create an array of 2 elements and assign the second one to 5 ?'O int* ival = ( int* ) malloc ( 2* sizeof ( int ) ) ;* ( ival + 1 ) = 5 ;]O int* ival = ( int* \ malloc ( 2* size of ( int ) ) ;* (ival + 2 ) = 5 ;O)int* ival = ( int* ) malloc ( size of ( int ) ) ; * ( ival+ 1 ) = 5 ;( ) int* ival = ( int* ) malloc ( 2* size of ( int ) ) ;* ival [ 1 ] = 5 ;
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question