
Basic C++ Programming Questions
Flashcard
•
Computers
•
University
•
Practice Problem
•
Medium
Wayground Content
Used 2+ times
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the output of this code?
int x = 8;
// x = 3;
cout<
Back
8
2.
FLASHCARD QUESTION
Front
What is the type of the temp variable? var temp = 14.55;
Back
Double
3.
FLASHCARD QUESTION
Front
What is the alternative for x = x + 5? Options: x += 5; x -= 4; x = y + 5; x=+5
Back
x += 5;
4.
FLASHCARD QUESTION
Front
iostream
Back
Displays output from the screen and input from the keyboard
5.
FLASHCARD QUESTION
Front
What is the only function that all C++ programs must contain?
Back
main ()
6.
FLASHCARD QUESTION
Front
C++ is a
Back
high-level language
7.
FLASHCARD QUESTION
Front
The process of creating a new variable without value
Back
declaration
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?