pointers in c

Quiz
•
Computers
•
University
•
Medium
Karen Tan
Used 10+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Java Operators

Quiz
•
University
12 questions
C Basics

Quiz
•
University
6 questions
Coder Of the Year

Quiz
•
University
10 questions
Basics of C

Quiz
•
University
15 questions
ARRAYS AND FUNCTIONS

Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions

Quiz
•
12th Grade - University
15 questions
Stack??

Quiz
•
University
15 questions
II CSM A & B

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade