C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 5 Compiler Error 6 Garbage Value 5 Compiler Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 9 8 5 7 6 9 8 5 7 6 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? defg bcdefg fg cdefg efg defg bcdefg fg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is legal but meaningless is illegal is syntactically and semantically correct None of these. is legal but meaningless is illegal is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 6 3 Garbage value Error 6 3 Garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=3 j=2 the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 the behavior is undefined i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP