answersLogoWhite

0


Best Answer

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

15y ago
This answer is:
User Avatar

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

Related questions

Whats the difference between Virginia Declaration of Rights and Declaration of Rights?

There is a difference


What is the optional in a variable declaration statement?

Optional is the assignment of the value of course.int number; //Variable Declarationint number=2; //Assignment Declaration


What is the difference between a Deed of Undertaking and a Deed of Assignment?

deed of undertaking


For this assignment youll want to find at least one point of similarity and one point of difference between the two works?

The assignment would be a comparison/contrast assignment.


What is the difference between unbalanced transportation and unbalanced assignment problem?

model sum


What is the difference between the declaration of independence and the articles of confederation?

idek


Difference between sublet and assignment of lease?

An assignment is the transfer of a lease between the current tennant and a prospective tenant. A sublet is a lease held from a lessor who has a superior landlord.


Difference between frequency management and channel assignment?

differenve between frequency management and channel assignement


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 declaration and definition?

definition: the meaning or description of person/place/thing declaration: taking a stand


What is the difference between declaration and a definition in c plus plus?

A declaration is an incomplete type whereas a definition is a complete type.


What should you do when you have completed an assignment in lab?

What's the difference between science and technology?how are they related?