C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value 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 BAD GOOD Compiler Error None of These GOOD BAD GOOD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1970 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystems in 1973 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III I and III I and II II and IV III and IV II and III I and III I and II II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.5 9 0.25 1 2 0.5 9 0.25 1 2 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 5 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP