C Programming If the two strings are identical, then strcmp() function returns -1 None of these 1 true 0 -1 None of these 1 true 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error 300 None of These %d\n Error 300 None of These %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 333 000 444 Garbage Value 433 333 000 444 Garbage Value 433 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 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Error Garbage value 6 3 Error Garbage value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strnset() strrchr() None of these strstr() strchr() strnset() strrchr() None of these strstr() strchr() ANSWER DOWNLOAD EXAMIANS APP