C Programming
What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);}

2 3
3 3
3 4
2 2
2 4

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 );}

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

ANSWER DOWNLOAD EXAMIANS APP