• Strings

    No strings attached...



    Strings are one of the important aspects of programming.

    Previously we had a look at the programming concept and variable.

    Now we shall have a look at strings.

    What is a string in programming?
    In programming a string is any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks). An important characteristic of each string is its length, which is the number of characters in it. The length can be any natural number (i.e., zero or any positive integer).


    Got an idea?
    Basically anything between inverted commas are string.
    To tell the computer that we are giving you a string to save we have to tell it first.
    Then the name of the underwhich it will save
    For eg
    Char example ="hello"


    There are various thing or we can call it as operation to perform on strings but that depends on the programming language we are using.
    Hence we will see that further in the upcoming posts .
  • 0 comments:

    Post a Comment

    Powered by Blogger.

    Tags

    Popular Posts