Two different variables in the same program may have the same name
A) if they always hold different values.
B) if the second one is never declared.
C) if they have different scope.
D) if the second one is initialized with a different value than the first one.
E) never. A program cannot have two variables with the same name.
Correct Answer:
Verified
Q1: The operator takes an operand and reverses
Q2: A flag is a variable, usually of
Q4: Relational operators allow you to numbers.
A)average
B)verify
C)add
D)compare
E)multiply
Q5: The statement executes one statement, or block
Q6: When an if statement is placed within
Q7: The expression x < y is called
Q8: A(n)is a variable, usually a bool, that
Q9: In C++ when a relational expression is
Q10: The statement acts like a chain of
Q11: If s1 and s2 are string objects,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents