#include <stdio.h>
#include <string.h>
int main ()
{
char str[50];
strcpy(str,"This is string.h library function");
memset(str,'\0',10); // 10 Adet '\0' karekterini baştan sona doğru str charına ekleme yapar.
puts(str);
return(0);
}
Categories: C language
1 Comment
King899 Lotto · 16/01/2025 at 01:56
… [Trackback]
[…] Read More here on that Topic: durukanbal.com/2021/01/16/c-memset-fonction/ […]