prf2

prf2

Assessment

Flashcard

English

University

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.

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?