C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strchr() strrchr() strnset() strstr() None of these strchr() strrchr() strnset() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 Compiler Error 6 5 0 7 Compiler Error 6 5 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 a = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference call by value None of these. call by value result call by reference call by value None of these. call by value result 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. 2, 3 1 None of these 2, 4 1, 4 2, 3 1 None of these 2, 4 1, 4 ANSWER DOWNLOAD EXAMIANS APP