C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Partitioning the string into two strings. Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Merging two strings. Partitioning the string into two strings. Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() puts() None of these gets() scanf() printf() puts() None of these gets() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 -1 16 17 19 20 -1 16 17 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } et ck ow te et ck ow te 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? None of these strchr() strrchr() strnset() strstr() None of these strchr() strrchr() strnset() strstr() ANSWER DOWNLOAD EXAMIANS APP