C Programming The library function used to find the last occurrence of a character in a string is strrchr() laststr() strstr() strnstr() None of these strrchr() laststr() strstr() strnstr() None of these 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]);} 6 None of these Garbage Value 5 0 6 None of these Garbage Value 5 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello Compiler Error Linking error None of these 3 hello Compiler Error Linking error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello WorldHello Hello World World None of these Hello WorldHello Hello World World None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop None of These Error Some address will be printed make an infinite loop None of These Error Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three None of These Error zero three None of These Error zero ANSWER DOWNLOAD EXAMIANS APP