Data Types in C (types and examples)
Hello Guys, Let's see about Data Types with example Data Types:- There are various types of data. For example, data 10 and 100.5 are data of different types. The data 10 is an integer number (i.e whole number) while 100.5 is a fractional number. There are other varieties of data types supported by C, each of which may be represented differently within computer's memory. The variety of data types available allow the programmer to select the type needed by the application. (ANSI) C supports three classes of data types:- 1) . Primary (fundamental) data types 2) . User-defined data types 3) . Derived data types 1). Primary Data Types The primary data types and derived data types are discussed in this section. The user-defined data types such as arrays, functions, structures and pointers are discussed in separate chapters. Primary data types are categorized into five types:- a) Integer type ( int ) b) Floating point typ...