1

Why use this

typedef struct complex
{
  int imag;
  float real;
} comp;

Instead of this

typedef struct
{
  int imag;
  float real;
} comp;

Is the complex keyword usable somehow? I mean, I would not use it later, I would just do:

comp myvar; 
Sebastian Karlsson
  • 715
  • 1
  • 8
  • 19

0 Answers0