Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions