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
What is the output of the following code?
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 Wayground
25 questions
C/C++ Programming Quiz

Quiz
•
University
25 questions
Iedc Coders Club Programming Quiz

Quiz
•
University
30 questions
Computer Programming-2

Quiz
•
University
30 questions
DFC20113 Programming Fundamentals Set B

Quiz
•
University
27 questions
IEEE Coding Cybersecurity

Quiz
•
University
25 questions
DSA - Q1

Quiz
•
University
30 questions
Tech Quest Level-2

Quiz
•
University
30 questions
<Ctrl+Alt+Debug>:Debugging Competition(Java)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University