C Programming
Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);}

b = 4, c = 6
b = 3, c = 6
a = 4, c = 8
a = 4, c = 6
a = 3, c = 8

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

The increment should always be ++k .
The commas should be semicolons.
The variable must always be the letter i when using a for loop.
The variable k can’t be initialized.
There should be a semicolon at the end of the statement.

ANSWER DOWNLOAD EXAMIANS APP