
TECHTRIX2025 BUGHUNT SET6

Quiz
•
Other
•
University
•
Hard
Sarmistha Moharer
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the following C code?
#include
printf("%d", arr[2]);
printf("%d", arr[3]); (No error)
printf("%d", arr[0]);
printf("%d", arr[4]);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What should be the correct condition in this code?
#include
if (x = 10)
if (x == 10)
if x == 10;
if (x := 10)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the correct line to fix the segmentation fault.
#include
int ptr = 10;
int *ptr = NULL;
int x = 10; int *ptr = &x;
int *ptr = 10;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Find the correct way to swap two numbers using pointers.
#include
swap(x, y);
swap(&x, &y);
swap(*x, *y);
swap(x, *y);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the correct loop termination condition.
#include
while (i = 10)
while (i == 10)
while (i < 10)
while (i <= 10)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
#include
RCCIIT
6
RCCIIT6
Error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
#include
Yes
No
0
Error
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz on Object Oriented Programming and Java

Quiz
•
University
20 questions
Quiz on Array

Quiz
•
University
24 questions
Round 3: Coding Round

Quiz
•
University
15 questions
C Quiz

Quiz
•
University
20 questions
TECHTRIX2025 BUGHUNT SET1

Quiz
•
University
15 questions
5CSE1_T&P questions

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
15 questions
Arrays

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