Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 6, Problem 10RQ
Program Description Answer

The Private Sub GetFee(ByRef decX As Decimal, ByVal intY As Integer) statement is a valid procedure header for the arguments that accepts the address of a decimal variable which is followed by the address of an integer.

Hence, the correct answer is option “C”.

Blurred answer
Students have asked these similar questions
Which of the following headers indicates that the procedure returns a Decimal number?a. Private Function Calc() As Decimalb. Private Sub Calc() As Decimalc. Private Function Calc(Decimal)d. both a and b
Which of the following is a valid header for a procedure that receives an integer followed by a number with a decimal place? a. Private Sub GetFee(intBase As Value, decRate As Value) b. Private Sub GetFee(ByRef intBase As Integer, ByRef decRate As Decimal) c. Private Sub GetFee(ByVal intBase As Integer, ByVal decRate As Decimal) d. None of the above.
Which of the following is a valid header for a procedure that is passed the number 15? a. Private Function GetTax(ByVal intRate As Integer) As Decimal b. Private Function GetTax(ByAdd intRate As Integer) As Decimal c. Private Sub CalcTax(ByVal intRate As Integer) d. Both a and c.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L