C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short int char long float short int char long float 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? 7 24 It will not compile because not enough initializers are given 12 6 7 24 It will not compile because not enough initializers are given 12 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be declared. It should be both declared and initialized. It should be initialized. None of these. It should be declared. It should be both declared and initialized. It should be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 Garbage Value 1 None of These 10 Garbage Value 1 None of These ANSWER DOWNLOAD EXAMIANS APP