OOP2023_B9A1Quiz_January24

Quiz
•
Computers
•
University
•
Hard
MR ARORA
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Predict the output of the given code.
address of main
compiler error
runtime error
some random value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, parameters are always
passed by value
passed by reference
passed by value result
Non-pointer variables are passed by value and pointers are passed by reference
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Predict the output of the given code.
7
12
1
0
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is true about return type of functions in C?
Functions can return any type
Functions can return any type except array and functions
Functions can return any type except array, functions and union
Functions can return any type except array, functions, function pointer and union
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In order to exchange the values of two variables a and b:
Call swap (a, b)
swap(a, b) cannot be used as it does not return any value
Call swap (&a, &b)
swap(a, b) cannot be used as the parameters passed by value
Similar Resources on Wayground
10 questions
Programming in C

Quiz
•
University
10 questions
FGCT4023 Topic 6 - Interactivity

Quiz
•
University
10 questions
Rapid Round 1

Quiz
•
University
10 questions
2024 - Struktur Data Quiz 1

Quiz
•
University
10 questions
C++ Quiz

Quiz
•
University
10 questions
0xDebug - Python

Quiz
•
University
10 questions
C++ Functions

Quiz
•
University
10 questions
PHP

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade