What is Command Line Argument in C

COMMAND LINE ARGUMENT:- Command line argument in C is a mechanism by which a program takes input during runtime. The main function takes two parameters in a command line argument…

Continue Reading What is Command Line Argument in C

File Handling in C

FILE HANDLING IN C:- File & Directory:- File is a mechanism which stores data and Directory is a mechanism which stores file. Types of File:- Regular File Directory FIle FIFO…

Continue Reading File Handling in C

Structure and Union in C

Structure and Union:- Structure:- Structure is a mechanism which groups different data member to form a record. A structure is suitable for creating a database memory link and link list…

Continue Reading Structure and Union in C

Preprocessor Directives in C

Preprocessor Directives in C:- The c preprocessor is known as CPP is a macro processor that is used automatic call by the compiler to transform your program before compilation. Macro…

Continue Reading Preprocessor Directives in C

Storage Class in C

Storage Class in C:- Every c program has a storage class and a scope. The storage class is a data structure that decides the scope, storage default initial value, and…

Continue Reading Storage Class in C

Function in C

Function in C:- A function is a set of statements that are encapsulated together to perform a particular task. There are basically 3 types of function:- User-defined function Standard Library…

Continue Reading Function in C

Dynamic Memory Allocation

Dynamic Memory Allocation:- Every program allocates memory during the runtime and load time, but how much memory will be allocated during the runtime is called dynamic memory allocation. If the…

Continue Reading Dynamic Memory Allocation

String in C

String in C:- A string in C is a character array terminated with a null character. All the string are character array but all the character array is not a…

Continue Reading String in C

Pointer in C

Pointer in C:- A pointer in C is a variable which refers only address. (address is a location in memory). Pointer is 4byte because an address is a 4 byte…

Continue Reading Pointer in C

Array in C

Array in C:- Array in C  is a variable that can hold more than one similar type of element. It is sequential in nature. Array index starts from zero which…

Continue Reading Array in C

Control Structure in C

CONTROL STRUCTURE:- Hanging if is not allowed in C language. If a statement is used for checking range and yes/no problem. else is the optional part of the if. Execution…

Continue Reading Control Structure in C

Operator in C

Operator in C:- Operator in C :- 1) Precedence and associativity of an operator only implemented if it is represented in INFIX notation. Precedence decides which operation will be performed…

Continue Reading Operator in C

End of content

No more pages to load