0
0
Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitt
Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment.
A). I and II
B). I and III
C). II and III
D). II and IV
E). III and IV
This Question has 2 answers.
II and III
C
Similar Questions
- Directions: In a family of eight members, there are two married couples and a widow. B, an engineer is married to a doctor. D, an architect is the wife of C. F, a student is the only child of D. H is the son of G and his sister E is the niece of the manag
- Directions: In a family of eight members, there are two married couples and a widow. B, an engineer is married to a doctor. D, an architect is the wife of C. F, a student is the only child of D. H is the son of G and his sister E is the niece of the manag
- Nidhi received simple interest off Rs. 1200 when invested Rs x at 6% p.a. and Rs y at 5% p.a. for 1 year. Had she invested Rs. x at 3% p.a. and Rs. y at 8% for that year, she would have received simple interest of Rs 1,260. Find the values Rs. x an y.
- A and B can complete a piece of work in 80 and 120 days respectively. They together start the work but A left after 20 days. After another 12 days C joined B and now they complete the work in 28 more days. In how many days C can complete the work, working
- There is a circular path around a sports field. Sonia takes 18 minutes to drive one round of the field, while Ravi takes 12 minutes for the same. Suppose they both start at the same point and at the same time, and go in the same direction. After how many