c program structure | 5 basic components of a c program

If you want to know the c program structure then read the complete article. Components of c program structure C progam contains 5 main components are listed below. Pre-processor. variables. Functions. C program statements and expressions. Comment lines. Pre-processor in c program structure The preprocessor is a simple instruction to compiler. It instructs that pre-processors … Read more

C Program to swap two numbers | 4 methods

Programming pre-requisites to swap two numbers in c Unary addition and subtraction operator in c. Unary multiplication and division operator in c. Bitwise xor operator in c. Assignment operator. Input output operations in c. Data-type in c. c program to swap two numbers using temporary variable C Program to swap two numbers without third variable by Addition and subtraction … Read more