3,977 questions
for is not a function. It is a statement. Being a keyword is how the parser know this.
printf is a function and not part of the language, only the standard library.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If for is a function like prinft() then why printf() is not a keyword?
If 32 keywords are a part of the standard C library then why not printf() because printf() is a part of the header file stdio.h.
for is not a function. It is a statement. Being a keyword is how the parser know this.
printf is a function and not part of the language, only the standard library.