Question: (20 marks) Q1/ Choose the correct answer 1. The library contains function (sqrt) is: a) iostream c) conio b) math d) fstream 2. The type

 (20 marks) Q1/ Choose the correct answer 1. The library contains

(20 marks) Q1/ Choose the correct answer 1. The library contains function (sqrt) is: a) iostream c) conio b) math d) fstream 2. The type of variable (x=5.4) is: a) float c) string b) int d) char 3. If the function has 3 parameters, then the main function will pass (...) to the function: a) 4 arguments b) 3 arguments c) 1 argument d) none 4. The position of the first element in an 2D array is: a) 0,1 b) 1,0 c) 0,0 d) 1,1 5. To express the string, we use: a)" c) b) 6. To read a continuous line of characters, we can use: a) get c) cin b) cin.get d) cout 7. To compare between two strings, we use: a) strcpy c) strcmp b) strlen d) strcat Q2/ Choose the correct answer (20 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!