int, double, char, string, bool. Memory allocation and strong static typing.
C / C++ Systems Programming
C / C++ Tutorial
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
Types
7 min read
•
Chapter 4 of 6
C++ Variables
int, double, char, string, bool. Memory allocation and strong static typing.
Example
<!DOCTYPE html><html><body style="font-family:monospace;padding:20px;"><pre>int myNum = 15;\ndouble salary = 65000.50;</pre></body></html>
Try it Yourself >>
Opens live sandboxed code editor
Advertisement
Google AdSense Slot (IN-ARTICLE)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
Community Q&A & Discussion
Verified
No questions yet. Be the first to start the discussion!