To fix the below coverity error. Here for second parameter size should I use
sizeof(empID)-1 or sizeof(empID) ? should I subtract 1 for removing null character? 
ex:

```
char  empID[8] ;                
snprintf(empID,sizeof(empID)-1, "S%05d", (char)pManager -> GetEmpID( groupID, levelID ) ) ;

```

Coverity output:

> 
> Calling risky function (SECURE\_CODING) [VERY RISKY]. Using "sprintf"
>  can cause a buffer overflow when done incorrectly. Because sprintf()
>  assumes an arbitrarily long string, callers must be careful not to
>  overflow the actual space of the destination. Use snprintf() instead,
>  or correct precision specifiers.
> 
> 
>