Posts

Showing posts from April, 2024

C Unit 2 Note 1st Sem

Image
    UNIT-2      ELEMENTS OF C LANGUAGE     Notes According to Syllabus: C Standards( ANSI C and C99), C Character Set, C Tokens, Escape sequence, Delimiters, Variables, Data types (Basic, Derived, and User Defined), Structure of a C program, Executing a C program, Constants/ Literals, Expressions, Statements and Comments.     C STANDARDS (ANSI C AND C99)   There are different standards of the C language. Here we discuss ANSI C and C99.   ANSI C: The American National Standards Institute (ANSI) released ANSI C in 1989. Thats why it’s also called C89. ANSI C is dependent on the POSIX (Portable Operating System Interface) standard. The same standard proposed by ANSI was adopted by ISO officially so ISO/IEC 9899:1990 in 1990. So, it’s also called ISO C and C90. Keywords like const, enum , signed, void and volatile were added, and the keyword entry was dropped in ANSI C.   C99: C99 is the informal name given to the ISO/IEC 9899:1999 standards specification for C that was adopted i