Mastering Pointers and Functions

Mastering Pointers and Functions

12th Grade

15 Qs

quiz-placeholder

Similar activities

Understanding Arrays and ArrayLists in Java

Understanding Arrays and ArrayLists in Java

12th Grade

10 Qs

HTML and CSS Unit 1: Structure

HTML and CSS Unit 1: Structure

12th Grade

10 Qs

แข่งขันcodingม.ปลาย

แข่งขันcodingม.ปลาย

12th Grade - University

15 Qs

Berpikir Komputasional - Struktur Data

Berpikir Komputasional - Struktur Data

9th Grade - University

10 Qs

Quiz on Variables, Constants & Operators

Quiz on Variables, Constants & Operators

12th Grade

14 Qs

Mastering C: Control Structures and More

Mastering C: Control Structures and More

12th Grade

20 Qs

9 Weeks Test

9 Weeks Test

9th - 12th Grade

16 Qs

Arrays in CQuiz

Arrays in CQuiz

1st Grade - University

10 Qs

Mastering Pointers and Functions

Mastering Pointers and Functions

Assessment

Quiz

Information Technology (IT)

12th Grade

Easy

Created by

Karen Tan

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the array declaration valid?
int arr[5];

Valid

Invalid

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the following array declaration valid?
float arr[10];

Valid

Invalid

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this array declaration correct?
char arr[] = {'a', 'b', 'c'};

Invalid

Valid

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the following declaration valid?
double arr[5][3];

Valid

Invalid

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the following declaration valid?
int arr[3][4][2];

Invalid

Valid

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this array declaration correct?
double arr[10];

Valid

Invalid

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the following array declaration valid?
float arr[] = {1.0, 2.0, 3.0};

Valid

Invalid

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?