top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many keywords are there in C language can someone name them?

+2 votes
449 views
How many keywords are there in C language can someone name them?
posted Nov 13, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+1 vote

There are 32 keywords in c language, following is the list -
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

answer Nov 14, 2014 by Sridharan P
+1 vote

Keywords are those words whose meaning is already defined by Compiler and cannot be used as Variable Name. There are 32 Keywords in C, C Keywords are also called as Reserved words and are as follows -

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

answer Mar 10, 2016 by Ashish Kumar Khanna
+1 vote

C programming is case sensitive, all keywords must be written in lowercase. Here is the list of all keywords predefined by ANSI C.

Keywords in C Language

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

answer Apr 20, 2016 by Ajay Kumar
Similar Questions
0 votes

Given an array on 'N' names (Strings) , find how many distinct name are there in total?
1. Code should have minimum time complexity.
2. Share the C code?

+3 votes

Hamming distance between two binary numbers is the number of different bits between two numbers. With respect to 0, how many numbers are there with 10 as the hamming distance and can be represented using 15 bits.

...