C Programming Which of the following is not a correct variable type? double int real float char double int real float char 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 = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero three None of These Error zero three None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} None of these The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 complier error no error no output 0 1 complier error no error no output 0 ANSWER DOWNLOAD EXAMIANS APP