C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 11 13 14 12 Compilation error 11 13 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error Nothing is printed XAM is printed exam is printed Compiler Error Nothing is printed XAM is printed exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 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 values of array are getting scanned through the loop. 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 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. 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 correct and runs successfully. The code is erroneous since the statement declaring array is invalid. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 5 5 5 5 5 2 4 5 2 4 4 2 5 5 5 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP