The placement of '+' or '-' before the function call is performing a unary operator on the return value of the function. Vamsi wrote:
Hi List, i have seen a code snippet which starts with + symbol, +system("ls -l"); what is the significance of using + symbol before system.i also tried using + before printf ,, like +printf("Some text"); and it is compiling and working tooo,,Can somebody clarify wht does that + signify?? Thank You. -Vamsi -: send the line "unsubscribe linux-c-programming" inthe body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature