1.how Many Times "Indiabix" Is Get Printed?
1.how Many Times "Indiabix" Is Get Printed?
#include<stdio.h> int main() { int x; for(x=-1; x<=10; x++) { if(x < 5) continue; else break; printf("IndiaBIX"); } return 0; }
A. C. Infinite times 0 times B. D. 11 times 10 times
5 The way the break is used to take control out of switch and continue to take control of the
beginning of the switch? A. Yes B. No
6 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; }
A. B. C. D.
Output: Have a nice day No output Error: Expression syntax Error: Undeclared identifier if
7 Which command is used to change protection mode of files starting with the string emp and ending
with 1,2, or 3? A. B. C. D. E. chmod u+x emp[l-3] chmod 777 emp* chmod u+r ??? emp chmod 222 emp? None of the above
B. C. D. E.
14 Which command is used to move all files to the bin sub-directory of the parent directory?
A. B. C. D. E. mv *.* /bin/ mv * /bin/* mv * ../bin mv * ../bin *.* None of the above