199k views
14 votes
Complete the sentence.

It is always a good idea to initialize variables that will obtain values through calculations to either a _________ (“ “) or to zero (0 or 0.00) before using them in programming statements.

2 Answers

5 votes

Answer:

space character

Step-by-step explanation:

this is 100% right on edge 2021

User Xiangrui Li
by
5.0k points
5 votes

Answer:

The answer to this question is given below in the explanation section.

Step-by-step explanation:

This question is about a good programming practice, that you have to initialize the variable to either null value or zero before using them in a programming statement.

So the correct fill-in-the-blank is given below:

It is always a good idea to initialize variables that will obtain values through calculations to either a Null (“ “) or to zero (0 or 0.00) before using them in programming statements.

It is noted that when you assign (" ") to a variable it is not an empty value but it has a null value (blank).

User JacobW
by
4.5k points