C Programming Use of functions Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeating a set of statements many times. All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeating a set of statements many times. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 Garbage Value 14 12 15 13 Garbage Value 14 12 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 0, 2 2, 2 4, 4 2, 0 2, 4 0, 2 2, 2 4, 4 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP