Validating in c asian and indian dating agency

This is good for simple programs, but if I put in characters when I need a int or a int when a I need a float it crashes my program.



Consider, for example, an input which is a telephone number. Hint: isdigit(buffer[0]) returns 0 if the first character in buffer[] is not a digit, and nonzero if it is.

If the input is 11 digits and the first digit is a 1, remove it.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>