1. What is the format specifier for printing an integer in C?
Code Twisters Round 1 Demo

Quiz
•
Information Technology (IT)
•
University
•
Hard
SUNIL RAJ B
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
%d
%c
%f
%s
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
2. Which operator is used to get the address of a variable?
*
&
-
@
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
3. Which of the following is a correct syntax to declare a pointer?
*int p;
int p*;
int *p;
int p;
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
4. Which function is used to read a string from standard input?
scanf()
fgets()
getch()
gets()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
5. Which loop guarantees at least one execution of the loop body?
for loop
do-while loop
while loop
None of the Above
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
6. What will be the output of printf("%d", 5/2);?
2
2.5
3
0
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
7. What is the return type of the malloc() function?
int
char*
void*
float*
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
CMDP2063 Unix and C Programming (Revision)

Quiz
•
University
8 questions
Lab 4

Quiz
•
University
10 questions
Java Quiz 1 in tamil theme

Quiz
•
University
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
10 questions
C Basics 2

Quiz
•
University
10 questions
Operasi Input & Output C++

Quiz
•
University
10 questions
Quiz on Basics of C

Quiz
•
University
10 questions
PRF192

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade