C Language

Quiz
•
Computers
•
10th Grade - University
•
Medium
Ashish Ranjan
Used 186+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
CIS1101-programming practice

Quiz
•
University
15 questions
Matrici A

Quiz
•
11th Grade
13 questions
Quiz Bahasa Pemrograman C input dan print

Quiz
•
12th Grade
10 questions
CP1 Assessment

Quiz
•
11th Grade
10 questions
C Program Array and strings

Quiz
•
University
10 questions
Arrays in C (II yr 02.07.2020)

Quiz
•
University
10 questions
pointers and structures

Quiz
•
University
13 questions
PRF192 C Programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade