Ask Question
21 March, 16:17

Which of the following statements is not true? Group of answer choices

A. A Boolean variable can hold any integer value.

B. When a variable is declared, its type should be specified.

C. A string variable can hold a numeric value but it cannot be used in a mathematical operation.

D. The variable name I_Love_to_eat_pizza is a valid variable name.

+1
Answers (1)
  1. 21 March, 16:26
    0
    A

    Explanation:

    Option A is not true because a Boolean variable type can hold one of two values only that is (true/True or false/False).

    All the other options given in the question are correct because

    A variable declaration refers to specifying its type and name If string variables are assigned a numeric values which is legal provided the values are enclosed in quaotes (" "), trying to carryout a mathematical operation like addition will result in string concatenation. The Variable name I_Love_to_eat_pizza is legal because it contains no special characters, doesn't start with a number and its not a reserved word in any language
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following statements is not true? Group of answer choices A. A Boolean variable can hold any integer value. B. When a variable ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers