answersLogoWhite

0

Declaration is basically defining data type and length and assignment is to assign the value.

Below is the declaration --

var a integer /* this means we are declaring a variable a as integer data type */

a= 5 /* this is assignment,we are assigning 5 to variable a */

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

Add your answer:

Earn +20 pts
Q: What is the difference between Declaration and Assignment?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Algebra

What are the difference between homework and assignment t?

An assignment is something you're assigned to do, homework is work that you do at home so therefore a homework assignment is work that you're assigned to do at home.


What is the difference between homework assignment and agreement?

Semantics. Homework "agreement" is not generally a term accepted to have any significance.The only condition to this would be if you and another individual had some kind of interpersonal agreement, and the executor chose to call it a homework "agreement," but this would have to be mutually agreed upon by all parties.From a linguistic perspective, the difference between "assignment" and "agreement" is the direction of power in the interaction. Agreement is something done with mutual consent between parties; Assignment is something done by one party to another.An example of an "agreement" situation would be between a therapist and a client, in which the client agrees to work on a project to help him/herself in later therapy sessions.An assignment would be like a school assignment, where you are being instructed to do something by an authority figure.


What is a sentence with difference?

She enjoys doing 'spot the difference' puzzles.There is a difference between happy and sad.What is the difference between these two cakes?


What are the difference between ERD and UML?

what is the difference between ERD and UML Flowcharts.


What is the difference between the commutative and symmetric properties?

what is the difference between commutative and symmetric properties