❤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
3. The type of values that can't be obtained using the getline function in C++ is:
Strings
Strings
Anonymous Quiz
45%
True
55%
False
4. If the value of the getline function equals -1 in C++, it means:
No characters were extracted
No characters were extracted
Anonymous Quiz
45%
1
55%
0
🥰1
Conditional operator (?:):
Anonymous Quiz
16%
takes three arguments
22%
ternary
55%
All of the above is true
8%
none
🥰1
what is the output?
void main(){ int x=0; if(++x) cout<<"1"; elae cout<<"0"; }
void main(){ int x=0; if(++x) cout<<"1"; elae cout<<"0"; }
Anonymous Quiz
69%
1
31%
0
👍1