Type: Posts; User: sandeep_vr

Search: Search took 0.01 seconds.

  1. fgets and scanf - couldn't diagnose new line bug.

    the following code generates the newline bug. Please help.

    #include <stdio.h>
  2. Thank you very much

    Thanks a lot ppl. Got through with the bug. Also learnt more stuff about scanf.
  3. Infinite for loop to get male or female input from the user.


    I am a beginner to C Programming.
    Here I am trying to get input from the user.
    The user should enter either ‘m’ for male or ‘f ‘ for female.
    If any other character is entered an error...
Results 1 to 3 of 3