
Let's Crack C Prelims

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

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which one is a valid variable name in C? Options: @variable, 123_variable, _variable, variable#
Back
_variable
2.
FLASHCARD QUESTION
Front
What is the purpose of the 'if' statement?
Back
To control the flow of execution based on conditions.
3.
FLASHCARD QUESTION
Front
How is a function defined in C?
Back
A function in C is defined using the syntax: return_type function_name(parameter_type parameter_name) { // function body }
4.
FLASHCARD QUESTION
Front
What is the purpose of the 'switch' statement in C?
Back
To execute a block of code based on the value of a variable.
5.
FLASHCARD QUESTION
Front
What is a pointer and how is it used in C?
Back
A pointer is a variable that holds the address of another variable, used for direct memory access and manipulation in C.
6.
FLASHCARD QUESTION
Front
How do you dynamically allocate memory in C?
Back
Use 'malloc(size)' to allocate memory and 'free(pointer)' to deallocate it.
7.
FLASHCARD QUESTION
Front
What is the difference between an array and a string in C?
Back
An array is a collection of elements of the same type, while a string is a specific type of array that represents a sequence of characters terminated by a null character.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Arrays

Flashcard
•
KG - University
15 questions
Algebra Regents Review

Flashcard
•
KG - University
15 questions
Introduction to Data Analysis Flashcard

Flashcard
•
12th Grade - University
12 questions
𝗔𝗽𝗿𝗮𝘁𝗶𝗺* - 𝘚𝘳𝘫𝘢𝘯 𝘒𝘶𝘮𝘣𝘩 𝘏𝘢𝘤𝘬𝘢𝘵𝘩𝘰𝘯

Flashcard
•
University
14 questions
AP Computer Science A Flashcard

Flashcard
•
12th Grade
18 questions
JavaScript Variables, Data Types, and Operators Flashcard

Flashcard
•
University
15 questions
Multiplication 2nd Grade Tx TEKS

Flashcard
•
KG - University
15 questions
Grade 6 Linear Equations

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University