there is chance of buffer overflow as it doesn't check if the input size if it's greater then input size
On Sun, Sep 4, 2011 at 12:26 AM, harshit sethi <[email protected]> wrote: > gets() is normally used to input string consisting of multiple words. > This is not possible using single scanf() > > On 9/4/11, sukran dhawan <[email protected]> wrote: >> +1 >> >> On Sun, Sep 4, 2011 at 12:07 AM, Shashank Jain <[email protected]> wrote: >> >>> >>> Shashank Jain >>> IIIrd year >>> Computer Engineering >>> Delhi College of Engineering >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> >> > > -- > 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. > > -- 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.
