> Online tutorial : Primitive Types in c
Showing posts with label Primitive Types in c. Show all posts
Showing posts with label Primitive Types in c. Show all posts

Primitive Types in c

Primitive Data Types

char
Holds any character
int
Integer type
short int
Integer no larger than int
long int
Integer no smaller than int
float
Floating point (real number)
long float
Double precision float
double
(ditto)
void
Holds no value, uses no storage (except as a pointer)

preprocessor directives in c

Preprocessor Directives

#include
include file for linking
#define
define a preprocessor symbol/macro
#undef
un-define a previously defnined symbol
#if
test for conditional compilation
#ifdef
(ditto)
#ifndef
(ditto)
#else
(ditto)
#endif
(ditto)
#line
debug tool
#error
debug tool