
Basic C language

Quiz
•
Other
•
Professional Development
•
Easy
Dhairyashil Sutar
Used 13+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the 'printf' function do in C?
A) Reads input from the user.
B) Performs mathematical calculations.
C) Prints output to the console
D) Declares a variable.
Answer explanation
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which keyword is used to define a constant in C?
A) const
B) Float
C) int
D) var
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which data type is used to store whole numbers in C?
A) float
B) char
C) int
D) double
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the symbol used for a single-line comment in C?
A)#
B) ==
C) &&
D) //
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the header file for input and output functions in C?
A) stdio.h
B) iostream.h
C) inputoutput.h
D) conio.h
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the 'if' statement in C?
A) Loop through a set of values.
B) Make decisions based on conditions
C) Perform bitwise operations.
D) Declare a new variable
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which symbol is used for the "not equal to" comparison operator in C?
a) ==
b ) <>
c ) !=
d ) /=
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
PharmEvo Quiz

Quiz
•
Professional Development
15 questions
TÌM HIỂU VỀ TẾT TRUNG THU

Quiz
•
Professional Development
11 questions
POST TEST

Quiz
•
Professional Development
10 questions
Mini Game Giải Câu Đố " Tôi Là Thành Viên UMCC" - 01/03/2025

Quiz
•
Professional Development
15 questions
Mini game "khi tôi 18"

Quiz
•
Professional Development
10 questions
Quiz Pengetahuan Sesi 1

Quiz
•
Professional Development
10 questions
GIRS CLÍNICO Y FARMACÉUTICO INICIO

Quiz
•
Professional Development
10 questions
Ephesians 1- 6 quiz

Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development