C Quiz

Quiz
•
Other
•
University
•
Medium
Rakshit Sinha
Used 20+ 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
CodeMavarick

Quiz
•
University
20 questions
Primitive Types

Quiz
•
10th Grade - University
20 questions
UAS Algoritma dan Pemrograman

Quiz
•
University
20 questions
Java Simple - 1

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
12 questions
Archivos en JAVA

Quiz
•
University
17 questions
Basics of Programming with C

Quiz
•
University
20 questions
Round 3

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University