C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. 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));} 11 12 15 10 11 12 15 10 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? fg cdefg defg bcdefg efg fg cdefg defg bcdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. All of these Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Some address will be printed None of these. Hello H Some address will be printed None of these. Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float short long char int float short long char int ANSWER DOWNLOAD EXAMIANS APP