C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c 65 A Error c 65 A Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} None of these 5 6 7 4 None of these 5 6 7 4 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"));} 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() strnstr() strrchr() laststr() None of these strstr() strnstr() strrchr() laststr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi hi followed by garbage value Error Garbage Value h hi hi followed by garbage value Error Garbage Value h ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H None of these. Hello Some address will be printed H None of these. Hello Some address will be printed ANSWER DOWNLOAD EXAMIANS APP