C Programming If the two strings are identical, then strcmp() function returns -1 0 1 true None of these -1 0 1 true None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these strstr() strnstr() laststr() strrchr() None of these strstr() strnstr() laststr() strrchr() 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); } Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr[7] arr[6] arr{6} arr{7} None of these arr[7] arr[6] arr{6} arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 19 16 -1 17 20 19 16 -1 17 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 None of These 7 6 5 None of These 7 6 ANSWER DOWNLOAD EXAMIANS APP