if we are using strncpy( destination ,  source , num_of_char)

then if destination have less space allocated than num_of_char , what will
happen ?

Also , if there is no null char after string, what will happen , puts(str)
//where str is the string wihtout NULL character . I was not able to find
any reference regarding these doubts . Any suggestion or readable material ?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to