O
O Plameras
Are there differences in terms of functionality
of,
#define
and
typedef ?
By the above I mean any instance when the outcome
obtained by running two versions (1) and (2) below
of C codes are different ?
For example,
(1) In one C code, it has:
#define u_ unsigned
#define uc_ unsigned char
(2) The same C code is re-writtened to:
typedef unsigned u_;
typdef unsigned char uc_;
TIA.
O Plameras
of,
#define
and
typedef ?
By the above I mean any instance when the outcome
obtained by running two versions (1) and (2) below
of C codes are different ?
For example,
(1) In one C code, it has:
#define u_ unsigned
#define uc_ unsigned char
(2) The same C code is re-writtened to:
typedef unsigned u_;
typdef unsigned char uc_;
TIA.
O Plameras