C Tutorial

Define C

Define Programming

First C Program

Compiler vs Interpreter

C Variable

C Keywords

C Data Types

C Comments

TurboC Shortcut keys

C Operators

Hierarchy of Operators

Ex: Arithmetic Operator

C Formatting Output

C Escape Sequence

C if statement

Ex: If statement

C Switch statement

Ex: Switch

Increment / Decrement

C Loops

Ex: Loops

C Nesting Of Loops

Ex: Nested Loops

C Jumping Statements

C Exit(), Gotoxy()

C Arrays 1D

Ex: Arrays 1D

C Arrays 2D

Ex: Arrays 2D

C Sorting


Character I/O Function

Ex: Character

C String Functions

Ex: Strings

Array of Strings

C Math Functions

User-defined Function

Exercise Function

Local, Reference variable

Function Calling types

Array Passing Function

Recursion Function

Ex: Recursion Function

Constant Variable

Storage Class

C Header Files

C Preprocessor

C Pointers

Pointer to Pointer

C Structures

Exercise Structure

C Typedef

C Enumeration

C File Handling

Ex: File Handling

Command Line Argument



Page Stats

Visitor: 263

Command Line Argument

The predefined arguments passed from command line are called command line arguments. These arguments are handled by main() function. These variables are argc and argv. Argc count the number of arguments and argv is the argument value, it contains the values entered by user.

void main (int argc, char *argv[])
Updated: 12-Jul-21