Having problem in taking memset values!!

Revision en2, by ethico, 2019-10-26 11:04:10

** 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++).**

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English ethico 2019-10-26 11:06:20 26 Tiny change: '**\n****\n** --> m' -> '**\n****\n\n\n** --> m'
en2 English ethico 2019-10-26 11:04:10 38
en1 English ethico 2019-10-26 11:03:01 399 Initial revision (published)