
X-Tech Riot (2)
Authored by mit prajapati
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following symbol is used to declare the preprocessor directives in C++?
$
^
#
*
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is meant by a polymorphism in C++?
class having only single form
class having four forms
class having many forms
class having two forms
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define the macros in c++?
#macro
#define
macro
define
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to terminate the function declaration in C++?
:
;
//
/>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code snippet?
returns 1
returns 2
Varies
Compile time error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times i value is checked in the following C program?
1
3
4
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the elements present in the array of the following C code?
int array[5] = {5};
5, (garbage), (garbage), (garbage), (garbage)
5,5,5,5,5
0,0,0,0,5
5,0,0,0,0
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?