string literal

(thing) by Calin Fri Jan 11 2002 at 4:10:27
A string that literally appears in your program's source code text file. (see string handling in C).

If you are programming in C, then a string literal might look like the following in your source code:

.
.
.
j = j +1;
if (j > 17) {
    printf("This is a string literal");
}
blah1();
blah2();
.
.
.
The text "This is a string literal" above is a string literal.
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.