
(Trial) Decode-A-thon (trial)

Quiz
•
Other
•
University
•
Hard
Yatharth Patankar
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the output of the following code?
10
15
30
Compilation error
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which of the following is the correct syntax to declare a pointer to an integer in C?
int* ptr;
int ptr*;
int ptr;
int &ptr;
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What will be the output of the following code?
10 20
20 10
compilation error
Undefined behavior
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which header file is needed to use the strlen() function in C?
stdlib.h
stdio.h
string.h
math.h
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What does the following code snippet print?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the output of the following code?
10
15
50
compilation error
7.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which of the following is the correct way to define a function in C++ that returns an integer and takes two integer parameters?
int function(int a, int b);
int function(a, b);
function(int a, int b);
function(a, b);
8.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which of the following is the correct way to create an object of a class MyClass in C++?
MyClass obj;
MyClass obj();
MyClass::obj;
obj = new MyClass();
Similar Resources on Wayground
6 questions
TRIAL CLASS THUNKABLE

Quiz
•
12th Grade - University
10 questions
Praktisi Mengajar - Java Test

Quiz
•
University
10 questions
Vietnamese Language Course test Trial #2

Quiz
•
KG - Professional Dev...
5 questions
C Logical Operatos

Quiz
•
University
10 questions
funciones en c++

Quiz
•
University
13 questions
Java Programming Quiz

Quiz
•
University
10 questions
Literature Review

Quiz
•
University
10 questions
C++ set 3

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University