Forwarded from الرسمية CS4 Class-22 (Ahmed Jalal)
❤1
......... executes when a program is run?
Anonymous Quiz
22%
Predefined function
36%
main
2%
void
39%
all the previos answers are correct
C++ data types fall into ......categories?
Anonymous Quiz
7%
five
13%
six
56%
three
24%
none of them
What is the main purpse of using the get function in c++?
Anonymous Quiz
39%
To get the value of avariable.
16%
To perform mathematical operations.
19%
To detrmine the type of the. variable
27%
none of them.
👎1
How is the get function used to obtain avariable value from the user in c++?
Anonymous Quiz
6%
By using cout only
29%
By using cout and cin
40%
By using cin only
25%
By using getline function
👍1
What type of values can be obtained using get function in c++?
Anonymous Quiz
17%
Only integer numbers
9%
Only characters
13%
string literals
61%
Any type of values
1. The main purpose of using the getline function in C++ is:
To get a line of text from the user?
To get a line of text from the user?
Anonymous Quiz
70%
True
30%
False
2. The getline function is used to obtain a line of text from the user in C++ by:
Using cout and specifying the delimiter
Using cout and specifying the delimiter
Anonymous Quiz
35%
True
65%
False