
Trivia(Explore in depth)

Quiz
•
Computers
•
University
•
Hard

Pranavika BN
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Arrays and ArryList

Quiz
•
University
40 questions
Java Programming

Quiz
•
University
40 questions
C++ Basics

Quiz
•
University
35 questions
[AP CSP] Programming with Conditionals [If, Elif, Else]

Quiz
•
9th Grade - University
35 questions
Final Exam - BECC0302

Quiz
•
University
40 questions
10th Grade 10 - IT Programming - 2nd Cycle Exam

Quiz
•
10th Grade - University
40 questions
Python Quiz

Quiz
•
University
35 questions
QUIZ PEMROGRAMAN 1 REG. PAGI

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

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

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade