Tag Archives: c\c++

Setting null to pointer after free()

if i have variable that i check in my program couple of times if he null and also free him there is couple of way to do that the correct syntx : struct token *prevToken=NULL; if(prevToken != NULL) { free(prevToken); … Continue reading

Posted in כללי | Tagged | Leave a comment