C Language
Quiz
•
Computers
•
10th Grade - University
•
Practice Problem
•
Medium
Ashish Ranjan
Used 186+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this statement "printf("%d", (a++))" ?
The value of (a + 1)
The current value of a
Error message
Garbage
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the C language, the constant is defined _______.
Before main
After main
Anywhere, but starting on a new line.
None of the these.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following loop execute?
for(j = 1; j <= 10; j = j-1)
Forever
Never
0
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is a loop construct that will always be executed once?
for
while
switch
do while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the result of len variable after execution of the following statements?
int len;
char str1[] = {"39 march road"};
len = strlen(str1);
11
12
13
14
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement can print \n on the screen?
printf("\\n");
printf("n\");
printf("n");
- printf('\n');
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C is _______ type of programming language ?
Object Oriented
Procedural
Bit level language
Functional
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Databases
Quiz
•
11th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
16 questions
Algo Quiz
Quiz
•
University
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Windows 10 Basics
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
