
C Basic_Questions_1
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Dinesh Kushwaha
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the C code?
Hello World! x;
Hello World! followed by a junk value
Compile time error
Hello World!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The format identifier ‘%i’ is also used for _____ data type.
char
int
float
double
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
ariable can be of any length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will happen if the following C code is executed?
It will cause a compile-time error
It will cause a run-time error
It will run without any error and prints 3
It will experience infinite looping
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Directives are translated by the
Pre-processor
Compiler
Linker
Editor
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?
Similar Resources on Wayground
14 questions
Data Structures and Algorithms Quiz
Quiz
•
University
12 questions
Biomimicry
Quiz
•
University
15 questions
CMDP2060 - Programming Design and Implementation (W01 - W03)
Quiz
•
University
15 questions
Test wiedzy: Tablice jednowymiarowe w C++
Quiz
•
10th Grade - University
10 questions
Refresh Python
Quiz
•
University
10 questions
QUIZ 2 PLC
Quiz
•
10th Grade - University
12 questions
CLC Lesson 7 Quiz
Quiz
•
University
10 questions
TIK-REKAM MEDIS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
