C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg fg defg efg bcdefg cdefg fg defg efg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 None of these 0 true 1 -1 None of these 0 true 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 2 1 -2 Error 2 1 -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope No scope at all Function scope Block scope File scope Local scope No scope at all Function scope Block scope File scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 12 10 15 11 None of these 12 10 15 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Runtime error 4 5 6 7 4 1 2 3 4 Syntax error Runtime error 4 5 6 7 4 1 2 3 4 Syntax error ANSWER DOWNLOAD EXAMIANS APP