c Program of scanset in string

Program of scanset in string 

scanset is user entered data in limitation   i.e [A-Z] means enter only UPPER alphabetical character otherwise it is  terminate.

fflush(stdin) is a in-built function in c header file stdio.h

which is flush the previous null character enter by previous scanf statement

Output is :

Example program of scanset in c
Example program of scanf set of statements in c language
(Visited 138 times, 1 visits today)

Leave a Reply

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

Reload Image