c language all keywords in string

include

include

include

int main() { std::vector keywords = { "auto", "break", "case", "char", "const", "continue", "default", "do", "double", "else", "enum", "extern", "float", "for", "goto", "if", "int", "long", "register", "return", "short", "signed", "sizeof", "static", "struct", "switch", "typedef", "union", "unsigned", "void", "volatile", "while" };

for (const std::string& keyword : keywords) { std::cout << keyword << std::endl; }

return 0; }