
Trivia(Explore in depth)
Authored by Pranavika BN
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct syntax to declare an integer variable in c?
int x;
integer x;
x as int;
int = x;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is used to print output in c?
print()
cout <<
printf()
cin<<
Answer explanation
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
2.5
2
3
Error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct syntax to declare a pointer to an integer in c?
int *ptr;
int ptr*;
int &ptr;
pointer int *ptr;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
True
False
May be True
May be False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to dynamically allocate memory in c?
alloc()
new
malloc()
create()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this code?
21
22
20
Undefined Behavior
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
45 questions
QUIZ
Quiz
•
University
40 questions
IMK
Quiz
•
University
45 questions
Fundamentos-Programacion
Quiz
•
University
35 questions
Midterm Exam
Quiz
•
University
45 questions
Long Quiz - HCI
Quiz
•
University
38 questions
Ôn Tập Tin Học 10
Quiz
•
10th Grade - University
40 questions
Unit 12, 13_ Haifaa_2020
Quiz
•
University
40 questions
Desktop Publishing Quiz 2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade