conversion charecter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santoshramancha
    New Member
    • Mar 2008
    • 7

    conversion charecter

    Hi all,
    what is a conversion charecter and why and where it is used?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    I have never heard of a conversion character. Do you mean a conversion operator? Or maybe a conversion constructor?

    Comment

    • santoshramancha
      New Member
      • Mar 2008
      • 7

      #3
      Originally posted by weaknessforcats
      I have never heard of a conversion character. Do you mean a conversion operator? Or maybe a conversion constructor?
      hi weaknessforcats .ya sorry to say this,i too had never herd about conversion charecter but i got a question about this in an exam and still i dont know what it is.....
      thats why i posted this.
      any way thanks weaknessforcats

      Comment

      • santoshramancha
        New Member
        • Mar 2008
        • 7

        #4
        these are the question i got.....please answer
        1. The meaning of conversion character for data input is
        a.Data item is a long integer
        b.Data item is an unsigned decimal integer
        c.Data item is a short integer
        d.None of the above

        2. The conversion characters for data input means that the data item is
        a.An unsigned decimal integer
        b.A short integer
        c.A hexadecimal integer
        d.A string followed by white space

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          This looks like the values you use in a printf() or scanf(). You know, where %c is a char and %d is and integer. Maybe that's what was meant.

          I'm just guessing.

          It appears to be a poor question.

          Comment

          Working...