Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started