Search Header Logo

pointers in c

Authored by Karen Tan

Computers

University

Used 12+ times

pointers in c
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

//&a=fff110; &b=abc123;

what is the value of c?

fff110

abc123

10

5

none of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

//&a=fff110; &b=abc123;

what is the value of d?

fff110

abc123

10

5

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

//&a=fff110; &b=abc123;

what is the value of *d?

fff110

abc123

10

5

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

//&a=fff110; &b=abc123;

what is the value of *c?

fff110

abc123

10

5

none of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

int *e;

int *f;

e=c;

f=d;

//&a=fff110; &b=abc123;

what is the value of e?

fff110

abc123

10

5

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

int *e;

int *f;

e=c;

f=d;

//&a=fff110; &b=abc123;

what is the value of f?

fff110

abc123

10

5

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

int a = 10, b=5;

int *c;

c = &a;

int *d;

d = &b;

int *e;

int *f;

e=c;

f=d;

//&a=fff110; &b=abc123;

what is the value of *f?

fff110

abc123

10

5

none of the above

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?