string s="Hello";
reverse(s.begin(),s.end());
cout<<s;
Quiz 6
Quiz
•
Computers
•
University
•
Medium
MA CPC
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string s="Hello";
reverse(s.begin(),s.end());
cout<<s;
Hello
"Hello"
"olleH"
olleH
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string str = "Programming";
cout << str.size();
12
str.size()
11
Programming
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string str = "Hello";
cout << str[1];
o
l
H
e
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string str = "MACPC";
string str2 = "MACPC";
cout << (str == str2);
1
0
false
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string str = "abc123";
cout << str.substr(3);
abc
abc1
c123
123
10 questions
Nested Statement
Quiz
•
University
10 questions
FOP - CHAPTER 6
Quiz
•
University
9 questions
C++ Puntatori
Quiz
•
University
10 questions
Ujian Tengah Semester Struktur Data
Quiz
•
University
9 questions
PC-B1 (Basic Python) - Lesson 2
Quiz
•
6th Grade - University
10 questions
C++ Array
Quiz
•
University
10 questions
CSC126_Chapter4_Part1
Quiz
•
University
9 questions
Introducción a Python
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade