What is the difference between qualifiers and specifiers in C?

c, qualifiers

Solution

Assuming you're talking about types, then this is simply a lookup in the C standard.

C99 section 6.7.2:

type-specifier:

void
char
short
int
...

C99 section 6.7.3:

type-qualifier:

const
restrict
volatile

I imagine that it's clear that these are distinct categories of things...

Problem

Could some one explain what is the difference between qualifiers and specifiers in C?

Original source

Related problems