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
0
d. The statement will run correctly
Answered by
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
Science,
7 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Math,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago