
Pointers in C

Quiz
•
Computers
•
University
•
Medium
K.vinay kumar
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int *p; p++; adds how many bytes to the p in a 32 bit machine?
2
4
8
16
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among & and * which has the higher precedence
*
&
same precedence to both
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x=4, y=7; int *p1, *p2, p1=&x, p2=&y; what is the value of *p1 +* p2?
7
3
47
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A pointer to void can be converted into
float
int
char
all
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
assume ptr is pointer to double dimensional array A,then*(ptr+i+j gives
address of a[i][j]
value of A[i][j]
points to a[i][j]
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
with the statements char *str; str="hello"; which is allowed?
printf("%s", *str)
puts(str)
puts(*str)
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int *f1(); indicates the return type of function as
int pointer
int
address of int
Both a and c
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TES Pemahaman Materi

Quiz
•
University
30 questions
BUG@MASTER

Quiz
•
University
22 questions
C Language Loop and Array Quiz

Quiz
•
University
20 questions
CSE C Section

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
20 questions
Code-A-Vita

Quiz
•
University
20 questions
Programming Concepts in C

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University