Input Instruction (user input) Default input device is keyboard. Input instruction makes possible to user input data from keyboard scanf() scanf() is a predefined function. It is used to input data from keyboard and stores in variables of the program.
Escape Sequences
Escape Sequences Escape sequences are special symbols prefixed with a back slash ( \ ). These symbols can be used in printf() function to provide a formatted output. Sometimes they are used in formatted input too. Here is the list
Input Output Instruction
Input Output Instruction User interaction with a program on machine required input/output device Standard Input device is keyboard and standard output device is monitor. An instruction which is used to print something on the screen or any other output device
Modifiers
Modifiers Modifiers are the keywords used to modify the properties of data type. Modifiers are short, long, signed, unsigned. Below is the list of all possible combination of use of modifiers with data type: For Integers int, short int, signed
Data Type Declaration Instruction
Data Types Primary objective of any program is to process data. Data is raw information that your program manipulated to yield a meaningful information. Data comes in various forms, name of a city is a data and age of a
Instructions
Instruction Instruction is what a sentence in English. Sentence is a meaningful combination of words. Instruction too made up by combining identifiers. The set of rules which constitutes a sentence is known as grammar. In C language grammar is called
Start Learning C
Start Learning C As a matter of fact any language whether it is natural language (like Hindi, English, French, etc) or computer programming language, one has to learn basic constituents first. You have to learn C language in the same
Troubleshooting
Common issues with code blocks The most common error people see if things don’t work is a message like can’t find compiler executable in your search path (GNU GCC compiler) Sloution: Go to settings in the upper part click compiler
Test Code
First Program in C – test code Write your test code in empty file. (How to open empty file) main() { printf(“Hello User”); } Build and Run your code to press F9 function Key. Build is a process of converting
Installation of Code::blocks
Download code::blocks Here you will learn how to setup environment in order to make programs in C language and convert into an executable. Follow the instructions given below: Goto this website http://www.codeblocks.org/downloads Click “Download the binary release”. Select your operating