1. Question:What do the functions atoi(), itoa() and gcvt() do? 

    Answer
    atoi() is a macro that converts integer to character.
    itoa() It converts an integer to string
    gcvt() It converts a floating point number to string

    1. Report
  2. Question:What is the difference between functions getch() and getche()? 

    Answer
    Both functions will accept a character input value from the user. When using getch(), the key that was pressed will not appear on the screen, and is automatically captured and assigned to a variable. When using getche(), the key that was pressed by the user will appear on the screen, while at the same time being assigned to a variable.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd