int *p; p++; adds how many bytes to the p in a 32 bit machine?

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
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 Quizizz
20 questions
C programming syntax quiz

Quiz
•
University
25 questions
C Quiz 1

Quiz
•
University
30 questions
Code debugging - Round 1

Quiz
•
University
25 questions
Compro. Final1/64 part2

Quiz
•
University
20 questions
C Programming Quiz

Quiz
•
University
30 questions
OODP_Batch 1_Quiz

Quiz
•
University
20 questions
C Quest 2.0

Quiz
•
University
26 questions
String in C Programming

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade