Why variable name did not declare with no in name? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why variable name did not declare with no in name?

14th Jun 2016, 2:04 PM
Muhammad Waqas Bilal
Muhammad Waqas Bilal - avatar
2 Answers
0
compare and think the statements below: 1. no varname =12; 2. varname=12; 3. notype varname=12; 4. var varname=12. The keyword "var" just tell compiler that the statement is to declare variable "varname" and the value is 12. The type of variabe is assigned by compiler.
14th Jun 2016, 2:42 PM
Jim
Jim - avatar
0
Please Write Question Properly, I didn't get It.
16th Jun 2016, 4:49 PM
Aamir Bashir
Aamir Bashir - avatar