What do you mean by Basic input and output statement in “C” Programing language?
Basic Input statement
The input statement
The input statement is a line for compiling that takes input into the program value to the variable of program such as global variables or local variable. The input statement is necessary to include in the program because the input statement "scanf" takes some value which is given by the user on the program output interface and during the output interface the program will asks to the user to write or type a value after the statement of asking to type value for variable to calculate it. Then after the typing the value of variable it is taken by the input statement.
- The basic input statement is in the programing language uses to store the value of the variable in main memory.
- The function of input value which is stores in a variable in the statement of the program in a different type according to their data type such as char, int, float etc.
- The format of the input function in the programing statement is “scanf();”.
Basic output statement
- The basic output statement is in the programing language uses to print the value of the variable on the output device.
- The functions of the output value of the variable to print in a different way according to their data type of the variable such as char, int, float etc.
- The format of the output function in the programing statement is “printf();”.
No comments:
Post a Comment