C Programming Which of the following function is used to find the first occurrence of a given string in another string? strstr() strrchr() None of these strnset() strchr() strstr() strrchr() None of these strnset() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 8 9 6 5 7 8 9 6 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 4 3 3 2 3 2 2 3 4 2 4 3 3 2 3 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be initialized. It should be declared. It should be both declared and initialized. None of these. It should be initialized. It should be declared. It should be both declared and initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 14 11 13 Compilation error 12 14 11 13 Compilation error 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} %d\n 300 None of These Error %d\n 300 None of These Error ANSWER DOWNLOAD EXAMIANS APP