using gets statement

FUNCTION OF GETS IN C LANGUAGE:

In C language while inputting value space are not allowed to add space while inputting the name(char) we use gets inteed of scan 

SYNTAX

{
 Int a[20];
printf("\n8888");
gets(a);
}

int a[20]

a is the supposition and [20] is known as dimension
EXAMPLE
PROGRAM(simple)

OUTPUT

Program (Difficult)


Comments

Popular posts from this blog

Stack

Operation on Single Linked List

EXTRA INFORMATION ABOUT TECHNOLOGY