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,

Please post the code if you can. This will help with debugging.

your declaration seems problematic. your string isn't even 16 chars long. try declaring it as char keyword[] = ... or char *keykword = ...