Having problem in taking memset values!!

Правка en3, от ethico, 2019-10-26 11:06:20

Hey fellows,

-->i want to know about memset,how its work,because when i put 0 or -1 as like as memset(a,-1,a.sizeof(a)) or memset(a,0,a.sizeof(a)),i am getting values,but if i put any other random number,why it is showing garbage values?

--> moreover,can u guys suggest me online best website for learning **cpp(c++).

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский ethico 2019-10-26 11:06:20 26 Tiny change: '**\n****\n** --> m' -> '**\n****\n\n\n** --> m'
en2 Английский ethico 2019-10-26 11:04:10 38
en1 Английский ethico 2019-10-26 11:03:01 399 Initial revision (published)