Computer Science, asked by kumaradarsh5662, 1 year ago

Which of the following is not a valid variable name declaration?( int _3a, int a_3, int_a3, int 3_a)

Answers

Answered by bipinbatham11
28

Answer:

Valid variable name is (1) int _3a (2)int a_3

Explanation:

In c language variable name declaration have some rule

1. Variable name start should be alfabet and _ .

2. Variable name should not be a keyword name .

3. Variable name not contain any special character except _.

Answered by adventureisland
4

The not valid variable declaration as int 3_a.

Explanation:

Variable:

  • In the context of a mathematical problem or experiment, a variable is a quantity that can change.
  • A variable is usually represented by a single letter.
  • Variables are commonly represented by the letters x, y, and z. We may select a letter that indicates the number it represents, for as t for time, v for voltage, or b for bacteria.
Similar questions