Well, when you run a C program and get the output on your screen, there is a series of steps that come in the way. To get the desired output, you need to follow all the steps. These are the steps involved while writing a program in C.
- Execute or run
- Desired output
First of all, try to code the program in the most precise manner following the protocols of C programming like,
- C is a case-sensitive programming language.
- Each line of code in C ends with a semicolon(;), except the function definition.
You can compile the code on your system once you install the compiler.
Also, if you don’t want to install the compilers on your system, you can also use the online compilers available to run your code and get the output.
Once, your code gets executed you will surely get the desired output on your output screen.