prf2

prf2

Assessment

Flashcard

English

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a pointer in C programming?

Back

A variable that stores the address of another variable or the address of dynamically allocated memory.

2.

FLASHCARD QUESTION

Front

What does the statement rewind(fp) do?

Back

It brings the pointer fp back to the beginning of the file.

3.

FLASHCARD QUESTION

Front

What is the function of 'flush(stdin);' command?

Back

It removes characters that remain in the keyboard buffer.

4.

FLASHCARD QUESTION

Front

What does the ^ operator do in C programming?

Back

It performs a bitwise XOR operation on two bit sequences.

5.

FLASHCARD QUESTION

Front

What is incorrect about pointers?

Back

Pointers are not containers for storing data values like numbers and characters.

6.

FLASHCARD QUESTION

Front

What is the purpose of a pointer?

Back

To provide an indirect method of accessing the value of a data item.

7.

FLASHCARD QUESTION

Front

Can pointers point to data aggregates?

Back

Yes, pointers can point to variables of fundamental data types and data aggregates like arrays or structures.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?