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
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
Chapter8: Arrays
Section: Chapter Questions
Problem 17RQ
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F086357a9-fd98-455a-ab3e-ff6cc57a5d18%2F05c7e3df-8b42-4e9e-8a97-29c8f35af84c%2F164vyzk_processed.jpeg&w=3840&q=75)
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F086357a9-fd98-455a-ab3e-ff6cc57a5d18%2F05c7e3df-8b42-4e9e-8a97-29c8f35af84c%2F9m8lhkf_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,