C - Data Types - Discussion

You Are Here :: Home > C > Data Types - Discussion

 



Q.

Consider the following program fragment:

int block[] = {13, 2, 5, 8};
block[4] = 15;
Which one of the following sentences is true?

A. The code will cause compile-time errors B. The code will compile but not run
C. The code will compile and run but may produce incorrect results D. The code will compile and will always run properly

Answer: Option C
Explaination:

 


No Explanation








Discussion

Your Comments Goes here...
NameDiscussion