C Programming
Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;}

a[0] = 2
Compilation error
a[1] = 2
a[0] = 3
a[1] = 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.
The loop will run infinitely many times.
Prints the value of 0 one time only.
There will be a compilation error reported.
A run time error will be generated.

ANSWER DOWNLOAD EXAMIANS APP