Errors in a C program

Error is a condition either during compilation or execution of a program which if not fixed can halt compilation or execution. There are three types of errors — syntax, logical, and run-time errors. Syntax Error These errors occur because of wrongly typed statements, which are not according to the syntax or grammatical rules of the … Read more

Classification of Data Types in C

The wide variety of data types supported by C language can be classified into 3 classes: 1. Primary Data Types 2. User-defined Data Types 3. Derived Data Types C supports 4 primary data types which include integer, character, floating point and double-precision floating point. C also supports creating user-defined data types using keywords typedef and … Read more