C Programming
What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);}

i=3 j=2
the behavior is undefined
i=5 j=2
i=4 j=2

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 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.
The commas should be semicolons.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is function?

Function is a block of statements that perform some specific task.
All of these
Function is the fundamental modular unit. A function is usually designed to perform a specific task.
Function is a block of code that performs a specific task. It has a name and it is reusable.

ANSWER DOWNLOAD EXAMIANS APP