-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathC.c
More file actions
33 lines (19 loc) · 777 Bytes
/
C.c
File metadata and controls
33 lines (19 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//Instruction & Operator
//instructions
/* An instructionin C is a single command that tells the computer to do specific tasks
such as declaring variable, performing a caclulation or making decision.
These are statement in a Program
Types--
1.Type Declarations instructions
2.Arithmetic Instructions
3.Control Instructions
1.Type Declaration: Used to declare the type of Variables(data types) used in program
int n; // declare
float pi = 3.14f; // declare + initialize
char grade = 'A';
2.Arithmetic
3.Control
*/
//Instructions & Operators in C
#include <stdio.h>
int main(void){ for(int i=0;i<5;i++){ if(i==3) break; printf("%d ",i);} return 0; }