C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 Compilation Error 33 -1 1 0 Compilation Error 33 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 4 6 None of these 7 5 4 6 None of these 7 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} None of these void fun(int *p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} 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 values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. 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. 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 erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 13 13, 13, 24, 13 13, 10, 24, 50 50, 13, 24, 50 50, 13, 11, 13 50, 13, 24, 13 13, 13, 24, 13 13, 10, 24, 50 50, 13, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 8 7 9 5 6 8 7 9 5 6 ANSWER DOWNLOAD EXAMIANS APP