C Pointer

Quiz
•
Other
•
University
•
Easy
Azrinna Muhamad
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a pointer to an integer in C?
int p;
int &p;
int *p;
int p*;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
The memory address of x
10
The memory address of p
Garbage value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code?
5
10
Memory address of x
Compilation error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
10
20
30
Compilation error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you pass a pointer to a function in C?
void function(int *ptr);
void function(int ptr);
void function(int &ptr);
void function(int ptr*);
Similar Resources on Wayground
10 questions
Quiz : Introduction au langage C

Quiz
•
University
10 questions
Dart Sets Quiz

Quiz
•
University
6 questions
Sesión 06 - FP

Quiz
•
University
10 questions
QUIZ W9 - FUNCTION

Quiz
•
University
10 questions
Memory Management

Quiz
•
University
10 questions
A & R Week 7 Industry session assessment

Quiz
•
University
10 questions
Aaruth Quiz

Quiz
•
University
10 questions
Java

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade