
Pointers in C
Authored by K.vinay kumar
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Removal - Part 1
Quiz
•
University
20 questions
9.4.25 Mentoring quiz
Quiz
•
University
20 questions
Dynamic Programming DAA
Quiz
•
University
20 questions
Apuntadores en C
Quiz
•
University
20 questions
INTRO TO C++
Quiz
•
12th Grade - University
20 questions
BD 1 - SQL - geral
Quiz
•
University
20 questions
C++ Bootcamp 2k24
Quiz
•
University
20 questions
Post Test VSA Pemrograman Web - Day 04
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade