Menu

Following Statements True Code Mark Apply Void Main Int X Unsigned Int 0 0 X Return 1 Loop Q43788304

Which of the following statements are true about this code?(Mark all that apply)

void main() {
int x;
unsigned int i;
for ( i = 0 ; i >= 0 ; ) {
     x = (++i);
}
return;
}

1. For Loop never exits

2. For Loop never enters

3. The variable i will overflow

4. The variable x will overflow

5. The pre-increment on i will not work

6. The keyword unsigned is not a C-keyword

Expert Answer


Answer to Which of the following statements are true about this code? (Mark all that apply) void main() { int x; unsigned int i; f…

OR