C is case sensitive programming language, it means variable name "MYDATA" is different from a variable name "mydata". Write all keywords are in lowercase. Keywords cannot be used for any other purpose (like variable names or function names).
Every C program statements must end with semicolon (;). Thus semicolon (;) works as a statement terminator. First character of variable must be an alphabet or underscore. No any special character allowed in variable name but underscore(_) is allowed
Blank space is not allowed in variable name. Variable must be declared before it is used in the program. Do not use keyword for variable name and function name.
Extension of C program file is ".c". First compile your program if program has not any error then run it.
first start turbo c++.
Type the below program.
Press f2 for save.
save file with .c extension. Example "myfile.c".
A compiler is a program that translates human-readable source code into computer-executable machine code.
Press Alt + f9 for compile.
If no any error in your program then you can run it.
Press Ctrl + f9 for run
When your program successfully execute then you can see output.
Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.
Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.
comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.
comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.
copyright © 2023