Reference no: EM13884013
I following are the simple question.
1) What is the value of the expression 1000 /10 /10 + 100 %1
2) What is the output printf("%c",65)
3) What is the output {int i=10;printf("%d",10/i++);}
II Based on loops
1) What are the entry controlled loops .
2) When do you use for and while loops:?
3) Which loop is better choice for menu driven programs and why?
III. Based on the selection statements.
1) A student is declared passed if marks secured is at least 35 otherwise fail. Suggest appropriate selection statement.
2) A garment shop announces rebate only on items worth more than Rs.500. Suggest suitable selection structure.
3) Multiple choice question will have only one correct answer out four of many choices. Suggest suitable selection structure.
4) To find biggest of three numbers which selection statement has to be used why?