C Programming Functions have .......... Local scope Block scope No scope at all Function scope File scope Local scope Block scope No scope at all Function scope File scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 20 20 Run time error 10 20 10 10 20 20 Run time error 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 10 9 5 11 6 10 9 5 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash 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 = modf(3.14, 2.1); rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP