Online visitors

People learning around the world

Online

—

Visitors exploring W3Schools

Online visitors by country Circles show approximate country locations. The country list provides the visitor counts.

Circles represent countries, not exact visitor locations.

Country

Online

Loading country activity…

    C Keywords

    C Keywords must be in your information because you can not use them as a variable name. This tutorial describes various Keywords available in C.

    You can't use a keyword as an identifier in your C programs; it's reserved words in the C library and used to perform an internal operation. The meaning and working of these keywords are already known to the compiler.

    C Keywords List

    A list of 32 reserved keywords in the C language is given below:

    auto double int struct
    break else long switch
    case enum register typedef
    char extern return union
    const float short unsigned
    continue for signed void
    default goto sizeof volatile
    do if static while

    Example Where and How Keywords are Used in the Program

    Example:

    #include<stdio.h>
    
    int main()
    {
        float a, b;
        printf("Showing how keywords are used.");
        return 0;
    }

    In the above program, float and return are keywords. The float keyword is used to declare variables, and the return is used to return an integer type value in this program.

    Keywords in C - Video Tutorial

    To understand C Keywords in more depth, please watch this video tutorial.



    Found This Page Useful? Share It!
    Get the Latest Tutorials and Updates
    Join us on Telegram

    Notifications

    Updates are enabled for this browser.

    Receive new tutorials, articles and learning resources. You can turn updates off anytime.