I have a structure, one of the element is spider_local.trd_sysmat_intliser_bnk_id_cd, which has 10 chars, copy overthere value "REGV-AAAA", I need only las for chars.When I compile the program give an error: Character constant 'REGV' has more than 1 character. Function argument assignment between types "const void*" and "int" is not allowed Coul dyou please let me know why? Thanks,Code:I compare if ( memcmp (spider_local.trd_sysmat_intliser_bnk_id_cd,"REGV",4) == 0) { do something }