C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float short long char int float short long char int ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 7 12 It will not compile because not enough initializers are given 6 24 7 12 It will not compile because not enough initializers are given 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[1] = 2 a[1] = 3 a[0] = 2 a[0] = 3 Compilation error a[1] = 2 a[1] = 3 a[0] = 2 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 4 None of these 2, 3 1 1, 4 2, 4 None of these 2, 3 1 1, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq ANSWER DOWNLOAD EXAMIANS APP