C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 1 0 6 10 None of these 1 0 6 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These GOOD GOOD BAD Compiler Error None of These GOOD GOOD BAD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 053 65 65 65 065 65 Syntax error 53 65 053 65 65 65 065 65 Syntax error 53 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 10 450 110 -10 -110 10 450 110 -10 -110 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 10 15 -5 1 30 10 15 -5 1 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"));} 5 5 5 2 5 5 2 4 4 2 4 5 5 5 5 2 5 5 2 4 4 2 4 5 ANSWER DOWNLOAD EXAMIANS APP