What is the difference between instruction and statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between instruction and statement

int a, b; a=2; which is statement or instruction and why

26th Nov 2017, 6:30 AM
Shubham Rajak
Shubham Rajak - avatar
1 Answer
0
a = 2; is statement because you are giving a value to 'a'
26th Nov 2017, 7:26 AM
Mustafa K.
Mustafa K. - avatar