ランタイムで配列を宣言する方法ってありますか?

配列の名前を入力
str
型を入力
int
要素数
10
作成しました int str[10]


無理ですか?