Computer Science, asked by frediefilzha13, 1 year ago

which of the following is a variable?
1. int$x
2. int 123
3. int_123

justify your answer

Answers

Answered by ritikaraj967
1
in this variable can only be when there is a space after data type.When there would be a space then both 1.int $x and 3.int _123 can be a variable

ritikaraj967: variable cannot be in digits and it can only take two special characters$ and_
frediefilzha13: so 1 nd 3 is the ans?
ritikaraj967: ya
ritikaraj967: The question should have been which of the following are variables.
frediefilzha13: oh ok thnkx
Similar questions