C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg fg efg cdefg bcdefg defg fg efg cdefg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 14 12 13 12 10 11 13 22 12 12 13 22 11 11 11 22 13 14 14 22 14 12 13 12 10 11 13 22 12 12 13 22 11 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. None of these. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%%!"); 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; }} Compiler Error GOOD BAD None of These GOOD Compiler Error GOOD BAD None of These GOOD ANSWER DOWNLOAD EXAMIANS APP