C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 complier error no error no output 1 0 complier error no error no output 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 11 9 None of these. 10 11 9 None of these. 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" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 8 3 7 8 3 7 3 None of these 3 8 3 7 8 3 7 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} -1 16 20 17 19 -1 16 20 17 19 ANSWER DOWNLOAD EXAMIANS APP