What is the meaning of чего?

genitive of что (što)

nominative of что (što)

accusative of что (što)

what for? why? (never used on its own, only in a sentence)

what? (what do you want?!)

Source: wiktionary.org