Compro. Final 1/64 part1

Compro. Final 1/64 part1

University

25 Qs

quiz-placeholder

Similar activities

C++ Quiz

C++ Quiz

University

20 Qs

oop with c++

oop with c++

University

20 Qs

EXCEPTION HANDLING IN PYTHON

EXCEPTION HANDLING IN PYTHON

University

22 Qs

C - Flow Control

C - Flow Control

University

20 Qs

Looping & Functions C++

Looping & Functions C++

University

20 Qs

Pointers

Pointers

University

20 Qs

OOPS-1

OOPS-1

University

20 Qs

Pointers in C

Pointers in C

University

24 Qs

Compro. Final 1/64 part1

Compro. Final 1/64 part1

Assessment

Quiz

Computers

University

Medium

Created by

Watcharin Tangsuksant

Used 10+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A pointer is

a variable that stores an address

one of the C keywords

a pre-processor directive

a C string

Skip

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the correct explanation of this C code “int *ptr[20]”.

An array of 20 pointers to int

A pointer to an array of 20 ints

20 int pointers to an array

20 arrays of a pointer to int

Skip

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Choose an invalid C code

int *A = NULL;

int *A[20][20];

int *A[20] = NULL;

int (*A)[20] = NULL

skip

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed on screen from the following C code?

140 140

2 140

100 140

140 100

skip

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed on screen from the following C code?

140 140

2 140

100 140

140 100

skip

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed on screen from the following C code?

140 140

2 140

100 140

140 100

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed on screen from the following C code?

140 140

2 140

100 140

140 100

skip

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?