void,declarations

This commit is contained in:
Marc Beninca 2018-12-11 22:24:36 +01:00
parent d70d2a03d7
commit ca1ab5a3a4

View file

@ -21,7 +21,7 @@ Main
.. code:: c .. code:: c
main() { void main() {
system("pause"); system("pause");
} }
@ -30,11 +30,14 @@ Declarations
.. code:: c .. code:: c
char operator; // unsigned, sizeof()
int entry1 = 0; char c = '1';
int entry2 = 0; short s = 2;
long entry = 0; int i = 4;
float f = (float)1; long l = 8;
float f = (float)4;
double d = (double)8;
long double ld = (long double)16;
Output Output
------ ------