
C programming review Flashcard
Flashcard
•
Other
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct syntax to print in C?
Options: A. print("Hello");, B. echo("Hello");, C. printf("Hello");, D. cout << "Hello"
Back
printf("Hello");
2.
FLASHCARD QUESTION
Front
What is the correct header file to use printf() and scanf()?
Back
3.
FLASHCARD QUESTION
Front
What is the default return type of a function if not specified in C? A. void, B. char, C. int, D. float
Back
int
4.
FLASHCARD QUESTION
Front
Which of the following is a correct variable name in C? A. value_1, B. value#, C. 1value, D. @value
Back
value_1
5.
FLASHCARD QUESTION
Front
Which loop checks the condition after executing the loop body?
Back
do...while
6.
FLASHCARD QUESTION
Front
Which data type is used to store a single character? Options: A. int, B. char, C. float, D. string
Back
char
7.
FLASHCARD QUESTION
Front
What is the value of x after this code?
int x = 5;
x += 2;
Back
7
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?