is it something different than this foo(char *p, int num) { if(!p) return "error"
if(num > 0 && p[num-1] == 0) print " 2 byte value" else print "1 byte value" } On Jul 11, 11:18 pm, Tech Id <tech.login....@gmail.com> wrote: > Question is not clear to me :( > Can you explain a little more and also give an example if possible? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.