C Programming The library function used to find the last occurrence of a character in a string is strnstr() None of these strstr() laststr() strrchr() strnstr() None of these strstr() laststr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 5 None of These 7 6 5 None of These 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} None of These Forget it Error Ok here None of These Forget it Error Ok here ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 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 8 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 5 6 Compiler Error 7 0 5 6 Compiler Error 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP