C Programming An array elements are always stored in ________ memory locations. Sequential Sequential and Random Random None of these Sequential Sequential and Random Random None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Execution None of these During Editing During linking During Preprocessing During Execution None of these During Editing During linking During Preprocessing ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strchr() strnset() strstr() None of these strrchr() strchr() strnset() strstr() None of these strrchr() 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. 1, 4 2, 3 None of these 1 2, 4 1, 4 2, 3 None of these 1 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 20 24 25 30 None of these 20 24 25 30 ANSWER DOWNLOAD EXAMIANS APP