C Programming
What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50}

10..50
10..10
0
Error

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 loop will run infinitely many times.
Prints the value of 0 one time only.
A run time error will be generated.
There will be a compilation error reported.
The program will not enter into the loop.

ANSWER DOWNLOAD EXAMIANS APP