C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65486 None of these 65486, 65488 65486, 65487 65486, 65490 65486, 65486 None of these 65486, 65488 65486, 65487 65486, 65490 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 15 1 -5 30 10 15 1 -5 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 1 2 3 4 Syntax error Runtime error 4 5 6 7 4 1 2 3 4 Syntax error Runtime error 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 None of these 4 7 6 5 None of these 4 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 25 30 None of these 20 24 25 30 None of these 20 ANSWER DOWNLOAD EXAMIANS APP