[STRING] IN C

---------------

STRING

---------------

WHAT IS STRING 


NULL CHARACTER WHAT IS STRING 

null character is define as back shash zero \0 . it always type in the end of the string. null character tells you it is the end of the string  

PRE DEFINED FUNCTION FOR STRING 

. gets = similar like scanf 

. puts = similar like printf

^^^^^^^^^^^^^^^^^^^^^^^^^^^

RUN SCREEN 


$$$$$$$$$$$$$$

SOURCE CODE 

$$$$$$$$$$$$$$ 

#include<stdio.h>
#include<conio.h>

main()
{
// CODE BY [UB] //
    char s[30];
    clrscr();
    printf("enter your name= ");
    gets(s);

    puts(s);
    getch();

}

#########################

ALL RIGTHS GOES TO [UB CODES]

#########################

<------------------------------------------------->

Popular posts from this blog

[2D] ARRAY

Switch in C

2D [STRING] IN C