Mega Code Archive
Categories
/
C++
/
Data Type
Memset( ) function
#include
#include
char buf[20]; int main( ) { printf("The contents of buf: %s",memset(buf,'+',15)); buf[15] = '\0'; return (0); }