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
Expert Solution
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
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
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#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
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#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,