am having trouble using gets( ) in switch case...its not takin in the string at all...its actually skippin tat statement...but whereas if i use scanf( ) the code works.....wat probably is happening inside????
ISSUE in using gets( ) with switch case..
Show your code. Be sure and put in inside code tags (see the "Before you make a query" thread). You should never use gets (). It doesn't allow you control the maximum length, thus is often the cause of buffer overflows. You can use fgets (), instead.