C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg fg defg efg cdefg bcdefg fg defg efg cdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error Infinite Loop None of these 5 4 3 2 1 5 5 5 5 5 Compilation Error Infinite Loop None of these 5 4 3 2 1 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 0 0 0 0 2 1 0 0 1 2 0 0 0 1 3 1 0 0 1 3 0 0 0 0 2 1 0 0 1 2 0 0 0 1 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 100 100 100 0 100 5 0 100 100 5 100 5 0 20 100 100 100 100 0 100 5 0 100 100 5 100 5 0 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP None of These 12PP345 Compiler Error 12PP None of These 12PP345 Compiler Error ANSWER DOWNLOAD EXAMIANS APP