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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);}

Complier error
Enter your age: xyz You have lived for 0 seconds
Enter your age: xyz Your age is not valid
Enter your age : xyz Your age is not valid

ANSWER DOWNLOAD EXAMIANS APP