Keywords & Data Types
Keywords
Keywords
§It is set of reserved
words .
§It is basically a sequence of characters that have a fixed
meaning.
Eg/
auto,break,continue,case ,default,if ,else,double,enum,goto,long
return,union,static,signed,unsigned,switch and void etc….
Data type
§int-Ã It is used to store integer data type. Eg/ 2,4,10….
§Floatà It is used to store floating data type. eg/ 0.5, 1.45….
User Defined Data Type
§typedef: used to rename a data type
eg/ typedef int
integer-Ã Can use integer to declare an int
§enum, struct, union
etc are some more data types.
Errors in C Programming
§Compilation error
Compiler generally
gives the line number at which the error is present.
§Run Time
C
programs are sequential making the debugging easier.
No comments:
Post a Comment