C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strnset() strrchr() strchr() strstr() None of these strnset() strrchr() strchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 2, 4 2, 2 4, 4 0, 2 2, 0 2, 4 2, 2 4, 4 0, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 3 10 5 3 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 4 3 10 5 3 3 10 5 3 4 10 5 4 4 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 6 Garbage Value None of these 0 5 6 Garbage Value None of these 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. None of these 1 1, 4 2, 4 2, 3 None of these 1 1, 4 2, 4 2, 3 ANSWER DOWNLOAD EXAMIANS APP