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() strnset() strstr() strrchr() None of these strchr() strnset() strstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 0 2 Garbage Value 1 3 0 2 Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 None of These 10 Compiler Error 50 None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these gets() scanf() puts() printf() None of these gets() scanf() puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 8 2 50 Theoratically no limit. The only practical limits are memory size and compilers. 20 8 2 50 Theoratically no limit. The only practical limits are memory size and compilers. 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP