C Programming The library function used to find the last occurrence of a character in a string is strnstr() laststr() None of these strstr() strrchr() strnstr() laststr() None of these strstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 12 7 6 6 5 6 11 6 6 7 12 7 6 6 5 6 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 5 None of these 9 6 Error 5 None of these 9 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Error Some address will be printed make an infinite loop None of These Error Some address will be printed make an infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP