C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 Compilation error a[1] = 2 a[0] = 3 a[0] = 2 a[1] = 3 Compilation error a[1] = 2 a[0] = 3 a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number An alphabet Both of the above A special symbol other than underscore A number An alphabet Both of the above A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strrchr() laststr() None of these strstr() strnstr() strrchr() laststr() None of these strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strnset() strstr() None of these strrchr() strchr() strnset() strstr() None of these strrchr() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and III II and III II and IV I and II III and IV I and III II and III II and IV I and II III and IV ANSWER DOWNLOAD EXAMIANS APP