C/C++ Variables
Scientific Programming School Scientific Programming School
5.37K subscribers
13 views
0

 Published On Sep 9, 2024

C/C++ Variables. In C++, there are different types of variables (defined with different keywords), for example:

int - stores integers (whole numbers), without decimals, such as 123 or -123
double - stores floating point numbers, with decimals, such as 19.99 or -19.99
char - stores single characters, such as 'a' or 'B'. Char values are surrounded by single quotes
string - stores text, such as "Hello World". String values are surrounded by double quotes
bool - stores values with two states: true or false


Must watch ❤️

Linux Data Science Project #1: How to Analyze US University Ranks at Linux Command Line?
   • Linux Data Science Project #1: How to...  

Linux Data Science Project #2: Facebook Data Analytics with Linux Bash Shell
   • Linux Data Science Project #2: Facebo...  

Linux Data Science Project #3: Statistical Data Analytics with Linux Bash Shell
   • Linux Data Science Project #3: Statis...  

Learn Practical Data Sciences with Bash Shell: Full Video Course!
   • Learn Practical Data Sciences with Ba...  

Scientific Programming School - An Introduction
   • Scientific Programming School - An In...  

Join us! 🚀
Like our FB Page:   / learnscientific  
Our Website: https://scientificprogramming.io/

Learnitive https://www.learnitive.com
(AI Productivity Platform)

show more

Share/Embed