when u get a string of any length the final character is null'\0'.Use this as 
check condition while counting.(increment the pointer variable and counter).

                                                                                
                                                    bye

       
---------------------------------
 Bollywood, fun, friendship, sports and more. You name it,  we have it.

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

Reply via email to