C Programming The library function used to find the last occurrence of a character in a string is None of these strstr() laststr() strnstr() strrchr() None of these strstr() laststr() strnstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these Hello World Hello WorldHello World None of these Hello World Hello WorldHello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} Garbage Value 2 0 None of These Garbage Value 2 0 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Runtime error Syntax error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Runtime error Syntax error 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Equal None of these. Error Unequal Equal None of these. Error Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. ANSWER DOWNLOAD EXAMIANS APP