Strings in C - Strings



 strings in c

Learn C - C tutorial - strings in c - C examples - C programs

Strings

  • A string is a group of characters.
  • A string is commonly a data type and is repeatedly implemented as array data structure of words that stores a sequence of elements.

Sample Code

#include <stdio.h>
int main()
{
    printf("%s\n",4+"Hello world");
    printf("%s\n","Hello world"+4);
    return 0;
}

Output

o world
o world


View More Quick Examples


Related Searches to Strings in C - Strings