C Quiz

Quiz
•
Other
•
University
•
Medium
Rakshit Sinha
Used 16+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which of these is NOT a relational or logical operator?
=
||
==
!=
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
We cannot use the keyword ‘break’ simply within _________.
while
for
if-else
do-while
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
The global variables are ____________.
External
Internal
Both External and Internal
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
How is the 3rd element in an array accessed based on pointer notation?
*a + 3
*(a+3)
*(*a+3)
&(a+3)
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is the disadvantage of arrays in C?
The amount of memory to be allocated should be known beforehand.
Elements of an array can be accessed in constant time.
Elements are stored in contiguous memory blocks.
Multiple other data structures can be implemented using arrays.
6.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What does the following declaration indicate?
int x: 8;
x stores a value of 8.
x is an 8-bit integer.
Both A and B.
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
How to declare a double-pointer in C?
int *val
int **val
int &val
int *&val
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Logika & Algoritma Pemrograman

Quiz
•
University
10 questions
Java set 1

Quiz
•
University
17 questions
Basics of Programming with C

Quiz
•
University
10 questions
Lab 2 Activity

Quiz
•
University
20 questions
First Meet Sains Data 2022

Quiz
•
University
10 questions
QUIZ 4

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade