C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg cdefg defg efg bcdefg fg cdefg defg efg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi Error h 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 III and IV I and III I and II II and IV II and III III and IV I and III I and II II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope Function scope No scope at all Block scope File scope Local scope Function scope No scope at all Block scope File scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; *float ptr; None of these float *ptr; float ptr; *float ptr; None of these float *ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 20 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 ANSWER DOWNLOAD EXAMIANS APP