C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} World Hello World None of these WorldHello Hello World Hello World None of these WorldHello Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff4 fff2 fff0 fff1 fff3 fff4 fff2 fff0 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? bcdefg cdefg defg fg efg bcdefg cdefg defg fg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Makes the debugging task easier. All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. ANSWER DOWNLOAD EXAMIANS APP