GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:  What is memset, and why it is used, When it is used?

Answer: I need a simple example progam for this with clear definition


October 10, 2009 00:04:43 #2
 vignesh1988i   Member Since: August 2008    Total Comments: 1 

RE: What is memset, and why it is used, When it is used?
 
How will this memset() function willl handle the worst case (ie) when the string is lesser than the given length
If my string is  
 
char string[]="i love my india";
If I use the function memset(string, '*' , 20);

Will it handle these type of complexities?
     

 

Back To Question