Variable is only name of memory location of your system hard disk. Variable occupy space in memory. It is called data container. Variable value can be replace.
1. Variable name can not start with number.
2. Special characters can not use in variable name But Underscore( _ ) can be use.
3. White space can not be use in variable name.
4. Do not use keywords for variable name.
Data-type vriableName = vlaue;
OR
Data-type vriableName;
Example:
int a = 101;
int b;
NOTE: You can learn Data Type in next chapter.
Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.
Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.
comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.
comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.
copyright © 2023