C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 0 1 1 0 0 None of these 0 1 1 0 1 1 0 0 None of these 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]); }} None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} complier error 1 -1 1 -1 -1 1 -1 1 complier error 1 -1 1 -1 -1 1 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(2, x) power(x, 2) sqr(x) pow(2, x) pow(x, 2) power(2, x) power(x, 2) sqr(x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} None of these 6 9 Error 5 None of these 6 9 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() scanf() None of these printf() gets() puts() scanf() None of these printf() gets() ANSWER DOWNLOAD EXAMIANS APP