C Programming The type of the controlling expression of a switch statement cannot be of the type ........ char int float short long char int float short long 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 -5 1 30 15 10 -5 1 30 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor 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 Takes care of macros Takes care of conditional compilation All of these Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP