C Programming The library function used to find the last occurrence of a character in a string is None of these strnstr() laststr() strrchr() strstr() None of these strnstr() laststr() strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 1 Garbage Value 0 3 2 1 Garbage Value 0 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 a[1] = 3 a[1] = 2 a[0] = 2 Compilation error a[0] = 3 a[1] = 3 a[1] = 2 a[0] = 2 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] ANSWER DOWNLOAD EXAMIANS APP