Thread: memset function
View Single Post
Go4Expert Founder
18Dec2007,18:10  
shabbir's Avatar
Code:
TCHAR szPath[MAX_PATH];
memset(szPath,'\0',MAX_PATH);
It will have all the memory location of szPath filled with '\0'