String is a group of character or collection of nell terminators .
EXAMPLE CODE :
#include<stdio.h>
#include<conio.h>
void main(){
char sameeraz[20];
clrscr();
printf("ENTER STRING NAME:");
gets(s);
printf("MY NAME ID %s",s);
getch();
}
Code Example |
---|
C :: c in array |
C :: c code to add two numbers |
C :: addition.c |
C :: format specifiers in c |
C :: how to get the ascii value of a character in c |
C :: isspace |
C :: fgets remove newline |
C :: c read file content |
C :: to run Blazor project using CLI |
C :: getting string input in c |
C :: simple bootstrap form example |
C :: latex remove page number from footer |
C :: pointers to a function in c |
C :: linked list using c |
C :: string array in c |
C :: c calculate median |
C :: pygramid program in c |
C :: mysql yyyymm format |
C :: c memcpy array |
C :: print in c |
C :: define constant c |
C :: atoi string to int |
C :: unused variable in c |
C :: deleting a word with copy fuction c code |
C :: can we use logical operators in switch c |
C :: C++ How to use enums for flags? |
C :: onvert a string into 2d string in c |
C :: FILE* fptr = fopen("test", "r"); if (__ (fptr)) { printf("End of file reached"). (42); } |
C :: sum of fibonacci series in c |
C :: 157.245.33.77: |