answersLogoWhite

0


Best Answer

A constant is a variable that is immutable. The storage representation is exactly the same as for any other variable of the same type, the only difference is that all constants are allocated in the program's data segment (static memory).

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is constant explain their storage representation with suitable example?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Explain listing process with suitable example and Diagram?

1 Explain listing process with suitable example & Diagram


What do you mean by recursive function explain with suitable example?

Type your answer here...


Explain with suitable example how switch statement is differ from if statement?

www.assignmentsclub.com


Explain why the New Jersey plan was not a suitable solution to the problem of representation?

Because it included provisions that the largest states would never agree to.


Need of project for mca students?

EXplain the order and unorder lists with suitable example


Explain entity relationship model with suitable example?

An entity relationship model is a visual representation of the relationships between entities in a database. For example, in a university database, you could have entities such as "Student," "Course," and "Instructor," with relationships like "Student enrolls in Course" and "Instructor teaches Course." These relationships are represented by lines connecting the entities in a diagram, showing how they are connected and interact with each other.


How do you make vector representation?

explain the vector representation of Coulom's law.


Can an object be accelerated if it is moving with constant speed if yes explain giving example?

Yes, it can. Perhaps the simplest example is when an object moves at constant speed, in a circle. In this case, the speed doesn't change; the velocity does.


How do you declare a constant Explain it with a suitable example?

Declaring a Constant: We can declare a constant using the keyword "const". E.g. const abc='a';const number=10; const number[10]={1,2,3,4,5,6,7,8,9,10}; const name[7]={'K','U','N','D','A','N'}; #include<stdio.h> #include<conio.h> void main() { int i; const name[7]={'K','U','N','D','A','N'}; for(i=0;i<7;i++) { printf("%c",name[i]); getch(); }


Explain the principle of insertional inactivation by giving a suitable example?

insertional inactivation is basically about the inactive of second marker where the protein cannot be longer produced. the suitable example is pUC19 where the lacZ gene that encoded for beta-galactosidase cannot be longer produced when the foreign gene is inserted in it..


Can an object be accelerated if it is moving with constant speed If yes explain giving examples.?

Yes, it can. Perhaps the simplest example is when an object moves at constant speed, in a circle. In this case, the speed doesn't change; the velocity does.


Explain the difference between the constant of a hyperbola and the constant of an ellipse?

In contrast, for an ellipse it is the ''sum'' of these distances that is a constant