C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg bcdefg fg efg defg cdefg bcdefg fg efg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III I and III I and II II and IV III and IV II and III I and III I and II II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a formal parameter Initialization is a part of definition All of these It is a declaratrion It is a formal parameter Initialization is a part of definition All of these It is a declaratrion ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr{7} None of these arr[7] arr[6] arr{6} arr{7} None of these arr[7] arr[6] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 Error -2 1 2 Error -2 1 ANSWER DOWNLOAD EXAMIANS APP