C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Garbage value Error 6 3 Garbage value Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with Both of the above An alphabet A special symbol other than underscore A number Both of the above An alphabet A special symbol other than underscore A number 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); }} 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 10 15 50 None of these 30 10 15 50 None of these 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int(*p(char *))[] int *p(char *)[] int (*p) (char *)[] None of these. int(*p(char *))[] int *p(char *)[] int (*p) (char *)[] None of these. ANSWER DOWNLOAD EXAMIANS APP