C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} Error hello 5 None of These hello garbage value Error hello 5 None of These hello garbage value 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 1, 4 1 2, 3 None of these 2, 4 1, 4 1 2, 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These zero three Error None of These zero three Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 9 0.5 1 2 0.25 9 0.5 1 2 0.25 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 Garbage Value 0 2 1 3 Garbage Value 0 2 1 ANSWER DOWNLOAD EXAMIANS APP