C Programming Which is the only function all C programs must contain? main() printf() system() start() getch() main() printf() system() start() getch() 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 ? Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) pow(2, x) pow(x, 2) power(x, 2) sqr(x) power(2, x) pow(2, x) pow(x, 2) power(x, 2) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te ck ow et te ck ow et ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 None of These 5 7 6 None of These 5 7 ANSWER DOWNLOAD EXAMIANS APP