C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float char long short int float char long short int ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 0 None of these 10 14 1 0 None of these 10 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65488 None of these 65480, 65496 65474, 65488 65474, 65476 65480, 65488 None of these 65480, 65496 65474, 65488 65474, 65476 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)++;} a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World Hello World WorldHello None of these Hello World Hello World WorldHello None of these ANSWER DOWNLOAD EXAMIANS APP