C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg defg fg bcdefg efg cdefg defg fg bcdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error no error no output 1 0 complier error no error no output 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N None of These P M N None of These P M 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);} Garbage value 3 6 Error Garbage value 3 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 4, 4 2, 0 0, 2 2, 4 2, 2 4, 4 2, 0 0, 2 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 10 11 15 12 10 11 15 ANSWER DOWNLOAD EXAMIANS APP