Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical C Programming

You're reading from   Practical C Programming Solutions for modern C developers to create efficient and well-structured programs

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838641108
Length 616 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Harwani Harwani
Author Profile Icon Harwani
Harwani
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Section 1: Kali Linux – Not Just for Penetration Testing
2. Chapter 1: Packt Chapter (H1 – Chapter) FREE CHAPTER 3. Chapter 2: Installing Kali Linux 4. Section 2: Forensic Fundamentals and Best Practices
5. Chapter 3: Understanding Filesystems and Storage Media 6. Chapter 4: Incident Response and Data Acquisition 7. Assessments 8. Other Books You May Enjoy

Chapter 2

  1. The built-in integral types in C# are byte, sbyte, ushort, short, uint, int, ulong, and long.
  2. The float and double types represent numbers using the inverse powers of 2 for the fractional part. Therefore, they cannot represent exactly numbers such as 1.23 or 19.99, but only an approximation of them. Although double has 15 digits of precision, compared to float, which has only 7; precision loss accumulates when performing repeated calculations. The decimal type uses a decimal representation of real numbers, which is much slower to compute, but provides better precision. The decimal type has 28 digits of precision and is suitable for categories of applications, such as financial applications, where this is key.
  3. Strings can be concatenated using the + operator. Apart from concatenation, you can compose strings using the String.Format() static method, or with string interpolation, which is a syntactic shortcut for this method.
  4. Some characters have a special meaning...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images