8951. What will be the output of the program? #include<stdio.h> int main() { int i=3; switch(i) { case 1: printf("Hello\n"); case 2: printf("Hi\n"); case 3: continue; default: printf("Bye\n"); } return 0; }
8952. What will be the output of the program? #include<stdio.h> int main() { int x = 10, y = 20; if(!(!x) && x) printf("x = %d\n", x); else printf("y = %d\n", y); return 0; }
8953. What will be the output of the program? #include<stdio.h> int main() { int i=4; switch(i) { default: printf("This is default\n"); case 1: printf("This is case 1\n"); break; case 2: printf("This is case 2\n"); break; case 3: printf("This is case 3\n"); } return 0; }
8954. What will be the output of the program? #include<stdio.h> int main() { int i = 1; switch(i) { printf("Hello\n"); case 1: printf("Hi\n"); break; case 2: printf("\nBye\n"); break; } return 0; }
8955. What will be the output of the program? #include<stdio.h> int main() { char j=1; while(j < 5) { printf("%d, ", j); j = j+1; } printf("\n"); return 0; }
8956. What will be the output of the program? #include<stdio.h> int main() { int x, y, z; x=y=z=1; z = ++x || ++y && ++z; printf("x=%d, y=%d, z=%d\n", x, y, z); return 0; }
8957. Point out the error, if any in the for loop. #include<stdio.h> int main() { int i=1; for(;;) { printf("%d\n", i++); if(i>10) break; } return 0; }
8958. Point out the error, if any in the program. #include<stdio.h> int main() { int a = 10; switch(a) { } printf("This is c program."); return 0; }
8959. Point out the error, if any in the program. #include<stdio.h> int main() { int i = 1; switch(i) { printf("This is c program."); case 1: printf("Case1"); break; case 2: printf("Case2"); break; } return 0; }
8960. Point out the error, if any in the while loop. #include<stdio.h> int main() { int i=1; while() { printf("%d\n", i++); if(i>10) break; } return 0; }
8961. Strong and settled dislike between two persons.
8962. Which of the following errors would be reported by the compiler on compiling the program given below? #include<stdio.h> int main() { int a = 5; switch(a) { case 1: printf("First"); case 2: printf("Second"); case 3 + 2: printf("Third"); case 5: printf("Final"); break; } return 0; }
8963. The Public Accounts Committee Submits its report to the
8964. Point out the error, if any in the program. #include<stdio.h> int main() { int P = 10; switch(P) { case 10: printf("Case 1"); case 20: printf("Case 2"); break; case P: printf("Case 2"); break; } return 0; }
8965. Screen that comes on when you turn on your computer that shows all the icons.
8966. Point out the error, if any in the program. #include<stdio.h> int main() { int i = 1; switch(i) { case 1: printf("Case1"); break; case 12+4: printf("Case2"); break; } return 0; }
8967. Force between same type of molecules
8968. Point out the error, if any in the while loop. #include<stdio.h> int main() { void fun(); int i = 1; while(i <= 5) { printf("%d\n", i); if(i>2) goto here; } return 0; } void fun() { here: printf("It works"); }
8969. Who was the first acting president of India?
8970. Point out the error, if any in the program. #include<stdio.h> int main() { int a = 10, b; a >=5 ? b=100: b=200; printf("%d\n", b); return 0; }
8971. The Residuary powers mean the
8972. Which of the following statements are correct about the below program? #include<stdio.h> int main() { int i = 10, j = 20; if(i = 5) && if(j = 10) printf("Have a nice day"); return 0; }
8973. The length of day due to earths atmosphere
8974. Which of the following statements are correct about the below program? #include<stdio.h> int main() { int i = 10, j = 15; if(i % 2 = j % 3) printf("IndiaBIX\n"); return 0; }
8975. All the three Round Table Conferences were held in
8976. Which of the following statements are correct about the program? #include<stdio.h> int main() { int x = 30, y = 40; if(x == y) printf("x is equal to y\n"); else if(x > y) printf("x is greater than y\n"); else if(x < y) printf("x is less than y\n") return 0; }
8977. The first Indian ruler to organise Haj pilgrimage at the expense of the state was
8978. Which of the following statements are correct about an if-else statements in a C-program? 1: Every if-else statement can be replaced by an equivalent statements using ?: operators 2: Nested if-else statements are allowed. 3: Multiple statements in an if block are allowed. 4: Multiple statements in an else block are allowed.
8979. Mahatma Gandhi’s thoughts were greatly influenced by
8980. Which of the following statements are correct about the below program? #include int main() { int i = 0; i++; if(i <= 5) { printf("IndiaBIX\n"); exit(0); main(); } return 0; }
8981. Coloumb is the unit of
8982. Which of the following statements are correct about the below C-program? #include<stdio.h> int main() { int x = 10, y = 100%90, i; for(i=1; i<10; i++) if(x != y); printf("x = %d y = %d\n", x, y); return 0; } 1 : The printf() function is called 10 times. 2 : The program will produce the output x = 10 y = 10 3 : The ; after the if(x!=y) will NOT produce an error. 4 : The program will not produce output.
8983. Which of the following has been awarded with the Wan-Ifra award of the year?
8984. Which of the following sentences are correct about a for loop in a C program? 1: for loop works faster than a while loop. 2: All things that can be done using a for loop can also be done using a while loop. 3: for(;;); implements an infinite loop. 4: for loop can be used if we want statements in a loop get executed at least once.
8985. Fill up the blanks from the choices given: He arrived ———— than I.
8986. Which of the following statements are correct about the below program? #include<stdio.h> int main() { int n = 0, y = 1; y == 1 ? n=0 : n=1; if(n) printf("Yes\n"); else printf("No\n"); return 0; }
8987. The first coast guard station of Kerala is in
8988. Which of the following sentences are correct about a switch loop in a C program? 1: switch is useful when we wish to check the value of variable against a particular set of values. 2: switch is useful when we wish to check whether a value falls in different ranges. 3: Compiler implements a jump table for cases used in switch. 4: It is not necessary to use a break in every switch statement.
8989. In a p-type semiconductor, majority charge carriers are
8990. A short integer is at least 16 bits wide and a long integer is at least 32 bits wide.
8991. What was the muscot for 34th National Games?
8992. If scanf() is used to store a value in a char variable then along with the value a carriage return(\r) also gets stored it.
8993. The institution of Varna appeared in the
8994. The modulus operator cannot be used with a long double.
8995. The author of the book ‘Portrait of a Lady’ is?
8996. A char variable can store either an ASCII character or a Unicode character.
8997. Which one of the following contains ‘Gayathri Mantra’ ?
8998. The way the break is used to take control out of switch and continue to take control of the beginning of the switch?
8999. Use suitable prepositions: The book you are looking —— is here.
9000. Can we use a switch statement to switch on strings?