C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr{7} arr[7] None of these arr[6] arr{6} arr{7} arr[7] None of these arr[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 = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Takes care of conditional compilation All of these Acts before compilation Takes care of include files Takes care of macros Takes care of conditional compilation All of these Acts before compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error 20 Linker Error 2 Compiler Error 20 Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 12 11 13 None of These 12 11 13 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..10 10..50 0 Error 10..10 10..50 0 Error ANSWER DOWNLOAD EXAMIANS APP