Hi friends,
  
         I got perplexed because of memset. look
         
        int a[100];
        memset(a,0,sizeof(a));
        then it is filling 0 in array.
        
       int a[100];
       memset(a,-1,sizeof(a));
       then it is filling -1 in array.
  
       but 
       int a[100];
       memset(a,1,sizeof(a));
       then it is filling array by a big number. can  any one explain this 
abnormal behaviour of memset? plz also tell me  internal  implementation of 
memset.
  
       if we fill 0 in an array using for loop &  using memse also, which one 
will be faster or both will take same time.
  
                                                                             

                
---------------------------------
 Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail.

[Non-text portions of this message have been removed]

Reply via email to