QUESTION 1 Which statement is TRUE about a pointer? O A pointer can be referred without initialisation or assignment. O The datatype of a pointer is determined by the datatype of the object the pointer is p O When a = &b; this means b is a pointer to a. O The datatype of a pointer can only be initialized to 0.0. QUESTION 2 When we introduce functions in our program, it is called approach prog O Modular O Object-oriented O Block O Linear QUESTION3 Which of the following matches the function call below? int a[4], b[4]; copy (a, b); O void copy(int], int]); O int copy (int[O, int[]) O void copy(int, int); O int copy(int); QUESTION 4 What is a pointer? O Avariable that directly references a value. 2 A collection of different of elements with the same types O A vaniable with fixed value O A collection of different type of elements

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter9: Using Classes And Objects
Section: Chapter Questions
Problem 9E
icon
Related questions
Question
QUESTION 1
Which statement is TRUE about a pointer?
O A pointer can be referred without initialisation or assignment.
O The datatype of a pointer is determined by the datatype of the object the pointer is p
O When a = &b; this means b is a pointer to a.
O The datatype of a pointer can only be initialized to 0.0.
QUESTION 2
When we introduce functions in our program, it is called
approach prog
O Modular
O Object-oriented
O Block
O Linear
QUESTION 3
Which of the following matches the function call below?
int a[4], b[4]; copy (a, b);
O void copy(int], int),
O int copy (int], int])
O void copy(int,int)B
O int copy(int);
QUESTION 4
What is a pointer?
O Avariable that directly references a value.
O A collection of different of elements with the same types
O Avariable with fixed value.
O A collection of different type of elements
Transcribed Image Text:QUESTION 1 Which statement is TRUE about a pointer? O A pointer can be referred without initialisation or assignment. O The datatype of a pointer is determined by the datatype of the object the pointer is p O When a = &b; this means b is a pointer to a. O The datatype of a pointer can only be initialized to 0.0. QUESTION 2 When we introduce functions in our program, it is called approach prog O Modular O Object-oriented O Block O Linear QUESTION 3 Which of the following matches the function call below? int a[4], b[4]; copy (a, b); O void copy(int], int), O int copy (int], int]) O void copy(int,int)B O int copy(int); QUESTION 4 What is a pointer? O Avariable that directly references a value. O A collection of different of elements with the same types O Avariable with fixed value. O A collection of different type of elements
Path: p
QUESTION 17
Display the value of the object pointed by cgPtr of type integer.
T E E
TTT Arial
3 (12pt)
Path: p
QUESTION 18
Declare and initialize array priceList with150.00, 235.00, 45.00, 23.75, 78.50.
TTT Arial
3 (12pt)
v T-E E-
Path p
Click Saue and Suhmit
Transcribed Image Text:Path: p QUESTION 17 Display the value of the object pointed by cgPtr of type integer. T E E TTT Arial 3 (12pt) Path: p QUESTION 18 Declare and initialize array priceList with150.00, 235.00, 45.00, 23.75, 78.50. TTT Arial 3 (12pt) v T-E E- Path p Click Saue and Suhmit
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concept of pointer parameter
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,