answersLogoWhite

0

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

9y ago

What else can I help you with?

Related Questions

Explain listing process with suitable example and Diagram?

1 Explain listing process with suitable example & Diagram


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

www.assignmentsclub.com


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

Type your answer here...


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 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.


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 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


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.


What is circular motion Explain with example?

Circular motion is when an object moves in a circular path around a central point. This motion involves a constant change in direction, but the speed remains constant. An example of circular motion is a planet revolving around the Sun or a car going around a roundabout.