From 2830b5fb96cce787ca8c7562a968effc3e57bdb1 Mon Sep 17 00:00:00 2001 From: Silvino Date: Wed, 26 Jun 2019 16:58:13 +0100 Subject: dev index re-organization --- dev/c/datatypes.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'dev/c/datatypes.html') diff --git a/dev/c/datatypes.html b/dev/c/datatypes.html index cbe19a2..77b5dbb 100644 --- a/dev/c/datatypes.html +++ b/dev/c/datatypes.html @@ -13,22 +13,27 @@
char
-
Integer, one byte.
+
Integer is 1 byte.
+
int
-
Integer.
+
Integer numbers 4 bytes (short is 2 bytes and long is 4 bytes)
+
float
-
Single precision floating point.
+
Single precision floating point is 4 bytes.
+
double
-
Double precision floating point.
+
Double precision floating point is 8 bytes.
+
void
Absence of type.
-

Data types

Integer

+

Allowed types are char and int;

+
signed char
8 bit, from -128 to 127.
@@ -93,7 +98,7 @@
         struct point {
-            int x, y;
+            int x, y, z;
         } first_point;
         struct point second_point;
         
-- cgit 1.4.1-2-gfad0