C Programming
Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);}

Error
Garbage value
6
3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );}

The program will not enter into the loop.
A run time error will be generated.
There will be a compilation error reported.
The loop will run infinitely many times.
Prints the value of 0 one time only.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A preprocessor command

need not start on a new line
need not start on the first column
has # as the first character
comes before the first executable statement

ANSWER DOWNLOAD EXAMIANS APP