PDA

View Full Version : difference between array and string in C ?



loveproblemsguruj
06-26-2019, 01:10 AM
Hello Dear,

* * * * * * * *Please Tell Me What is the difference between array and string in C ?

Mahender
08-26-2019, 05:15 AM
Strings are similar to arrays with just a few differences. Usually, the array size is fixed, while strings can have a variable number of elements. Arrays can contain any data type (char short int even other arrays) while strings are usually ASCII characters terminated with a NULL (0) character.


Good astrologer in Toronto (https://www.astrologermahendhar.com) | Best Astrology Services in Toronto (https://www.astrologermahendhar.com) | Best Astrologer in Canada (https://www.astrologermahendhar.com)