Mega Code Archive

 
Categories / C++ / Data Type
 

Memset( ) function

#include <stdio.h> #include <string.h> char buf[20]; int main( ) {  printf("The contents of buf: %s",memset(buf,'+',15));  buf[15] = '\0';  return (0); }