What is the output of this statement "printf("%d", (a++))" ?
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
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 Quizizz
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
13 questions
C programming-1

Quiz
•
University
10 questions
Java Quiz 1: Introduction

Quiz
•
6th - 12th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
15 questions
C - Language Quiz

Quiz
•
12th Grade
12 questions
C Basics

Quiz
•
University
16 questions
PSC ALM QUIZ

Quiz
•
University
10 questions
Array in C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University