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

Compilation error
a[0] = 3
a[1] = 2
a[1] = 3
a[0] = 2

ANSWER DOWNLOAD EXAMIANS APP

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

Enter your age: xyz You have lived for 0 seconds
Run time error
Enter your age: xyz "after that program will stop"
Enter your age: xyz You have lived for 0.00000 seconds

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

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

ANSWER DOWNLOAD EXAMIANS APP