| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
| ds. c , c++ Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#2 (permalink) |
|
Junior Member
Join Date: Oct 2007
Age: 21
Posts: 4
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Re: C language - What is the difference between a string and an array?
a string is collection of datatypes and an array is that which store multiple data in it
|
|
|
|
|
|
#3 (permalink) |
|
Senior Member
Join Date: Oct 2006
Location: Mayiladurai (TN)
Posts: 233
Thanks: 8 Thanked 7 Times in 5 Posts Thanks: 8
Thanked 7 Times in 5 Posts
Rep Power: 5
|
Re: C language - What is the difference between a string and an array?
The String is nothing but a array of characters with the exception that it ends with the
null character '\0' while array stores the elements of its type in its allocated memory only the elements which we allocated |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some VBScript Functions.. | kiran2710 | Testing Tools & QA | 5 | 11-11-07 07:05 PM |
| C questions | Spoorthi | DATA STRUCTURES, C, C++, VC ++ | 3 | 30-10-07 09:49 AM |
| difference between String & StringBuffer | preethisingh | Java Interview / Technical Questions | 1 | 15-02-07 06:07 PM |
| C language -What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used? | GEEK | ds. c , c++ Interview / Technical Questions | 0 | 23-01-07 01:18 PM |
| Hello friends, i need help.. | minamoda | JAVA Technologies | 4 | 28-03-06 04:54 AM |