C Programming Which of the following function is used to find the first occurrence of a given string in another string? strchr() strnset() strrchr() None of these strstr() strchr() strnset() strrchr() None of these strstr() 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 None of these 0 Garbage Value 6 5 None of these 0 Garbage Value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 0, 2 2, 0 2, 4 4, 4 2, 2 0, 2 2, 0 2, 4 4, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stdin string stderr Data file no such function in 'C'. stdin string stderr Data file no such function in 'C'. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP