# C Programming language

C Instruction
 Previous Home Next

## C Instruction

There are basically 3 types of instruction in c:

1. Type declaration instruction
2. Arithmetic instruction
3. Control instruction

## Type declaration instruction

To declare the type of variables used in c program.

### Example

```int bas ;
float rs, gross Sal ;
char name, code;
```

## Arithmetic instruction

To perform arithmetic operation between constants and variables.

### Example

```int ad ;
float kot, deta, alpha, beta, gamma ;
kot = 0.0056 ;
deta = alpha * beta / gamma + 3.2 * 2 / 5 ;
Here,
*, /, -, + are the arithmetic operators.
= is the assignment operator.
2, 5 and 3200 are integer constants.
3.2 and 0.0056 are real constants.
{"ft_lang_label":"__label__en","ft_lang_prob":0.68861675,"math_prob":0.96677196,"size":998,"snap":"2021-21-2021-25","text_gpt3_token_len":241,"char_repetition_ratio":0.18309858,"word_repetition_ratio":0.012121212,"special_character_ratio":0.25851703,"punctuation_ratio":0.2021858,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97843456,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-06T15:39:27Z\",\"WARC-Record-ID\":\"<urn:uuid:d6171531-8265-4e72-99fc-d1fb1c0bf187>\",\"Content-Length\":\"22567\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2d2972da-a33f-40e3-a11c-e3db8f88e60c>\",\"WARC-Concurrent-To\":\"<urn:uuid:b5cba981-39d7-47ca-959a-4d038166754d>\",\"WARC-IP-Address\":\"166.62.27.181\",\"WARC-Target-URI\":\"https://r4r.co.in/c/basic_tutorials/06/C_INSTRUCTION.shtml\",\"WARC-Payload-Digest\":\"sha1:MPT7WUG5CJLJYLDO5X4XJS6WCBPPE4SC\",\"WARC-Block-Digest\":\"sha1:D3VBYHC4F6WBODVXHBWAVXC7YYSBN7X2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243988758.74_warc_CC-MAIN-20210506144716-20210506174716-00550.warc.gz\"}"}