Wednesday 9 November 2016

Strings in C

String in C language is an array of characters that is terminated by \0 (null character).
There are two ways to declare string in c language.
  1. By char array
  2. By string literal

No comments:

Post a Comment