C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 0 100 1 Error 0 100 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value Error 3 6 Garbage value Error 3 6 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. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 8 20 Theoratically no limit. The only practical limits are memory size and compilers. 50 2 8 20 Theoratically no limit. The only practical limits are memory size and compilers. 50 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 "after that program will stop" Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds ANSWER DOWNLOAD EXAMIANS APP