![]() |
|
#1
|
|||
|
|||
Null Character '\0'Why is the null character generated by the compiler at the end of the string during runtime and how?
|
|||
|
#2
|
|||
|
|||
Re: Null Character '\0'Quote:
So, instead of attempting to answer the unanswerable, I will respond with two questions of my own:
Regards, Dave Last edited by davekw7x : 03-May-2009 at 11:56.
|
|
#3
|
|||
|
|||
Re: Null Character '\0'Perhaps shafaatmosvi means compiler run time, which is a stretch. The answer is to mark the end of the string so that it may be accessed by no more than a char pointer.
|
|
#4
|
|||
|
|||
Re: Null Character '\0'Quote:
|
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 20 questions game | monkeeass83 | C++ Forum | 1 | 21-Mar-2008 03:32 |
| Str_Misaligned in Double Link List | Peter_APIIT | C Programming Language | 1 | 29-Feb-2008 20:50 |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| triangle (polygon), drawing, sizing, and rotation programme using linked lists... | promsan | C Programming Language | 12 | 14-May-2007 14:03 |
| Reading non ASCII with read() | Atomical | C Programming Language | 8 | 13-Sep-2005 14:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The