C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } None of these absiha asiha haasi hai None of these absiha asiha haasi hai ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 11 Compilation error 13 14 12 11 Compilation error 13 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP