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 Compiler Error GOOD BAD None of These GOOD Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg efg fg cdefg defg bcdefg efg fg cdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 5 6 6 6 12 7 11 6 6 7 5 6 6 6 12 7 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 3 2 3 2 4 2 2 3 4 3 3 2 3 2 4 2 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 None of these 0 1 2 2 1 1 2 3 0 1 2 3 1 1 2 2 None of these 0 1 2 2 1 1 2 3 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float Depends upon the type of the variable to which it is pointing. int unsigned int No data type float Depends upon the type of the variable to which it is pointing. int unsigned int No data type ANSWER DOWNLOAD EXAMIANS APP