
C Programming - MCQ Quiz

Quiz
•
Science
•
University
•
Medium
Karthick CSE
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a header file in C?
stdio.c
conio.h
main.h
program.c
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The header file stdio.h mainly deals with:
String manipulation
Standard input/output
Mathematical functions
File handling only
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which header file is required for mathematical functions like sqrt()?
math.h
stdio.h
string.h
conio.h
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name in C?
1number
_value
float
long-int
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement is true about identifiers?
Identifiers can start with a number.
Identifiers can contain spaces.
Identifiers are case-sensitive.
Keywords can be used as identifiers.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is an invalid variable declaration?
int age;
float marks;
char name[20];
double 2value;
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is used for formatted output in C?
printf()
scanf()
gets()
puts()
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Quiz 5 Review

Quiz
•
University
25 questions
String Formatting and Conversion Techniques

Quiz
•
12th Grade - University
15 questions
Density

Quiz
•
6th Grade - University
15 questions
Bill Nye Buoyancy Video

Quiz
•
8th Grade - University
15 questions
Density Practice

Quiz
•
6th Grade - University
15 questions
Special Properties of Matter

Quiz
•
4th Grade - University
15 questions
Fluids

Quiz
•
8th Grade - University
20 questions
Physical Properties of Matter Review Quiz

Quiz
•
5th Grade - 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 Science
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