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
Introduction to Java

Quiz
•
University
30 questions
Computer Programming-2

Quiz
•
University
30 questions
Java Lab

Quiz
•
University
25 questions
C Programing

Quiz
•
University
30 questions
C-Programming

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

Quiz
•
University
30 questions
C-Language Q1

Quiz
•
University
25 questions
Iedc Coders Club Programming Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade