C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 1 Garbage Value 10 None of These 1 Garbage Value 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope File scope Function scope No scope at all Block scope Local scope File scope Function scope No scope at all Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 15 10 30 50 None of these 15 10 30 50 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. 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 10 30 -5 15 1 10 30 -5 15 1 ANSWER DOWNLOAD EXAMIANS APP