You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Solution: Memset is used to set a whole memory block to a particular value, for example we will set the value of character array(all it's entries ) to 'a'
char ch[12];
// for(int i=0; i<10; i++){
// ch[i]='a';
// }
// memset(ch,'a',sizeof(char)*10); //Shows a a a a a a a a a a