C Intro..

Flashcard
•
Others
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will be the output of the following code? int x = 10; if (x > 5) printf("High"); else printf("Low");
Back
High
2.
FLASHCARD QUESTION
Front
Which of the following is a correct use of the switch statement? Options: switch(x) { case 1: ... }, switch(x > 10) { case true: ... }, switch(x = 5) { case x: ... }, switch { case 1: ... }
Back
switch(x) { case 1: ... }
3.
FLASHCARD QUESTION
Front
What does the continue statement do in a loop?
Back
Skips the current iteration and moves to the next one
4.
FLASHCARD QUESTION
Front
What is the output of the following code? int i = 0; while (i < 3) { printf("%d", i); i++; }
Back
012
5.
FLASHCARD QUESTION
Front
You need to build a billing system that calculates total with tax. Which control structure is most suitable?
Back
if-else
Similar Resources on Wayground
12 questions
Pre Test Civil Rights JFK & LBJ

Flashcard
•
11th Grade
15 questions
Programming in C

Flashcard
•
University
15 questions
Residential Wiring Chapter 13 Flashcard

Flashcard
•
12th Grade
6 questions
Cisco IOS command line interface

Flashcard
•
KG - University
10 questions
US civil Rights coursework flashcard

Flashcard
•
12th Grade
7 questions
Proxy Server Flashcard

Flashcard
•
12th Grade
5 questions
KUIS Pemrograman C

Flashcard
•
11th Grade
12 questions
NET140 chp5 (cabling) set3

Flashcard
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Others
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University