Computer Science, asked by sanji123, 1 year ago

What will be the result of the following statement?
shortc[1] = { 32768 };
Select one:
a. The statement has an incorrect syntax.
b. The statement will induce array out of index.
c. The statement will induce integer overflow.
d. The statement will run correctly

Answers

Answered by amleshdevi0101983
0
d. The statement will run correctly
Answered by Sidyandex
1

Option d. The statement will run correctly.

The result of the given statement will be correct. Shortc[1] = {32768};

However, this is a practical approach question.

You need to do the following in your system and check for the result.

You can do even practice and know more about the outcome of the following.

Here rest of the options are eliminated though.

Similar questions