In this C programming language video tutorial / lecture for beginners video series, you will learn about the memset() function in c programming with its syntax in detail with example.
You will learn what is the use of memset function, what is the syntax of it and also how to use it to initialize the memory.
The tutorial begins with the syntax and then explains what this function is gonna do in detail. Then it explains the usage it to initialize the memory to some value.
Visit for more free computer programming video tutorials.
Learn Programming in HINDI at our youtube channel
Catch us on Social Media
Nguồn: https://valuedandloved.com
Xem thêm bài viết khác: https://valuedandloved.com/cong-nghe/
Xem thêm Bài Viết:
- Adobe Character Animator là gì? Top cấu hình máy tính chạy Character Animator
- Tìm hiểu CRM bất động sản và những điều cần biết
- Binary Option là gì? Giao dịch trên sàn Binary Option thực hiện như thế nào?
- Top CPU Tốt Nhất 2020 Cho Người Build PC
- Những lưu ý khi cài đặt và sử dụng phần mềm Microsoft Toolkit
can you write memset function user defined ??
does memset not work with pointer to character like char * ptr = "SAMPLE" ??
what is the porblem with this code ?
#include<iostream>
#include <cstring>
using namespace std;
int main()
{
char* name = "SAMPLE TEXT";
memset(name , '*',6);
cout << name <<endl;
return 0;
}