C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 1 33 -1 Compilation Error 0 1 33 -1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error 8 6 Syntax error No output Runtime error 8 6 Syntax error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these gets() printf() scanf() puts() None of these gets() printf() scanf() puts() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 2 50 20 8 Theoratically no limit. The only practical limits are memory size and compilers. 2 50 20 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP