![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to replace any char with newline char. | mightysam | Shell Programming and Scripting | 5 | 09-18-2008 09:15 PM |
| CHAR Array - stuffed with values - with more size than it holds | dhanamurthy | High Level Programming | 3 | 02-14-2008 06:31 PM |
| size of char array in c | phani_sree | High Level Programming | 6 | 10-25-2007 04:19 AM |
| md5 hash a string or char array in SCO | jcarter2333 | High Level Programming | 5 | 02-08-2007 04:09 PM |
| char array problem | DebianJ | High Level Programming | 4 | 06-25-2005 11:41 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
char array
hi,
I have variable like, char keyword[17] = "TRANSPARENCY "; while passing this variable to some function, first character of variable becomes null, but rest of characters still exist. Why this happens or something wrong with declaration. Their is no error while compiling & running program (cc: Sun WorkShop 6 update 2 C 5.3) singnature of function is like getVal(char *keyword, int *val); thanking you, |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|