What is the output of the following code snippet ?
int main() { int x; x=printf("RCCIIT"); printf("%d",x); return 0; }
TECHTRIX2025 BUGHUNT SET1
Quiz
•
Other
•
University
•
Medium
Sarmistha Moharer
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet ?
int main() { int x; x=printf("RCCIIT"); printf("%d",x); return 0; }
RCCIIT
6
RCCIIT6
Error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet ?
{ int x=6,y=1; if (x&y) { printf("Yes"); } else { printf("No"); } return 0; }
Yes
No
0
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
console.log(1 + "2" + 3); console.log(1 + 2 + "3");
123 and 33
6 and 6
123 and 123
6 and 123
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
console.log(0.1 + 0.2 === 0.3);
True
False
syntax error
undefined
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a = 1 def g(): print('Ans1: ', a) a = 2 print('Ans2: ', a) g()
Error
Ans1: 1 & Ans2: 2
Ans1: 2 & Ans2: 2
Ans1: 1 & Ans2: 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of finding the maximum element in an unsorted array of size n?
O(1)
O(n)
O(log n)
O(n log n)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the advantage of a doubly linked list over a singly linked list?
Easier to delete a node
Requires less memory
Uses less number of pointers
No advantage
20 questions
Round 2
Quiz
•
University
20 questions
CodeMavarick
Quiz
•
University
20 questions
TECHTRIX2025 BUGHUNT SET5
Quiz
•
University
20 questions
TECHTRIX2025 BUGHUNT SET6
Quiz
•
University
20 questions
Primitive Types
Quiz
•
10th Grade - University
20 questions
Round 1
Quiz
•
University
18 questions
If else Quiz
Quiz
•
University
20 questions
Round 3
Quiz
•
University
20 questions
math review
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions
Interactive video
•
6th - 8th Grade
19 questions
Math Review
Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review
Quiz
•
7th Grade
20 questions
Summer
Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz
Quiz
•
University
47 questions
2nd Semester 2025 Map Final
Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3
Quiz
•
KG - University
24 questions
Cartoon Characters
Quiz
•
KG - University
9 questions
What is your personality?
Quiz
•
University
10 questions
El Presente
Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology
Quiz
•
KG - University