What is the output of the following code?
Code Twisters Round One Batch -1

Quiz
•
Computers
•
University
•
Hard
SUNIL RAJ B
Used 5+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
5
10
0
Compilation Error
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is not a valid storage class in C?
static
extern
mutable
register
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What does malloc return when memory allocation fails?
-1
0
NULL
Garbage Value
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the size of an int data type on a 32-bit system?
2 bytes
4 bytes
8 bytes
Machine dependent
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the result of the following expression?
1
3
-1
Compilation error
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is true for a function returning a pointer?
The function returns the address of a variable.
The function returns a copy of a pointer.
The function must return a pointer to a global variable.
None of the above.
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What does the following code do?
Sets the value of ptr to 10
Generates a runtime error
Results in undefined behavior
Compilation error
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Code Carnival

Quiz
•
University
25 questions
Python Programming Basics 1

Quiz
•
University
25 questions
Programming Skills C/C++

Quiz
•
University
30 questions
OODP FT1 Assessment Questions

Quiz
•
University
25 questions
C Programing

Quiz
•
University
26 questions
C Language Basics

Quiz
•
University
25 questions
Neo Coding Round 1 Set 4

Quiz
•
University
30 questions
C-Programming

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