C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Syntax error 0 Infinite loop 10 0123456789 Syntax error 0 Infinite loop 10 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 4 5 6 7 8 9 4 5 6 7 8 9 10 None of these 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 None of these 4 5 6 7 8 9 1 2 3 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 33 1 0 Compilation Error -1 33 1 0 Compilation Error 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;} ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strrchr() strstr() laststr() None of these strnstr() strrchr() strstr() laststr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Needs input data. None of these Need not contain any function. Must contain at least one function. Needs input data. None of these Need not contain any function. ANSWER DOWNLOAD EXAMIANS APP