C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 0 1 2 Garbage Value 3 0 1 2 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 -5 10 15 1 30 -5 10 15 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 1 Program do no return a value. 2 -1 1 Program do no return a value. 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. ANSWER DOWNLOAD EXAMIANS APP