Which is the right way to declare constant in c


Asked by admin @ in Computer Science viewed by 285 People


Which is the right way to declare constant in C?

a,int constant var=10;
b,int const var=10;
c,conts int var=10;
d,b & c both

Answered by admin @



option a.

int constant var=10

is the right way to declare a constant in c

c is a case sensitive programming

while declaring a constant or a variable we must keep following things in mind

in c

POOR and poor are two different variables.

POOR is in caps lock

and poor is in simple writing.

hence cannot be equal inc


Similar Questions

Florida law gives the right of way to no one

Asked by admin @ in Social Studies viewed by 289 persons

Florida law gives the right of way to no one, it only states who must give up (yield) the right of way. Oa) True Ob) False​

Abc is a right angled triangle at c

Asked by admin @ in Math viewed by 361 persons

abc is a right angled at c.if p is the length of the perpendicular from c to ab and a,b,c have the usual meaning then prove that 1/p^2=1/a^2+1/b^2

If triangle abc is right angled at c

Asked by admin @ in Math viewed by 342 persons

If triangle ABC is right angled at C, then the value of sec (A+B) is​

Abc is a triangle right angled at c

Asked by admin @ in Math viewed by 346 persons

ABC is a triangle, right angled at C. A line through the mid-point M of hypotenuse AB and parallel to BC intersects AC at D. Show that - (i) D …

Abc is a right triangle right angled at c

Asked by admin @ in Math viewed by 311 persons

abc is a right angled at c.if p is the length of the perpendicular from c to ab and a,b,c have the usual meaning then prove that 1/p^2=1/a^2+1/b^2

In right angle triangle abc right angled at c

Asked by admin @ in Math viewed by 290 persons

"Question 8 In right triangle ABC, right angled at C, M is the mid-point of hypotenuse AB. C is joined to M and produced to a point D such that …

In a right triangle abc right angled at c

Asked by admin @ in Math viewed by 322 persons

"Question 8 In right triangle ABC, right angled at C, M is the mid-point of hypotenuse AB. C is joined to M and produced to a point D such that …

Can we declare function inside structure of c programming

Asked by admin @ in Computer Science viewed by 313 persons

Can we declare function inside structure of C Programming?

Abc is a right angle triangle right angled at c

Asked by admin @ in Math viewed by 312 persons

Abc is a right triangle right angled at c. if a=30 degree and ab=40 units,find the remaining two sides and angle b

In what way was marcus garvey's approach to civil rights more radical than others?

Asked by maham237 @ in History viewed by 324 persons

In what way was Marcus Garvey's approach to civil rights more radical than others? Garvey called for African Americans to start a revolution. Garvey's followers used lynchings to intimidate their …

What are unalienable rights according to the declaration of independence

Asked by admin @ in English viewed by 362 persons

What are the three “unalienable” rights, according to the Declaration of Independence?

How did the virginia declaration of rights influence the constitution

Asked by admin @ in History viewed by 288 persons

How did the Virginia Declaration of Rights influence the Declaration of Independence?

When exiting a parking spot has the right of way

Asked by admin @ in Health viewed by 280 persons

When exiting a parking spot ____ has the right of way?​

What are the three rights in the declaration of independence

Asked by admin @ in History viewed by 267 persons

What are three rights listed in the declaration of independence

When turning left you must yield the right of way

Asked by admin @ in Social Studies viewed by 285 persons

When you are turning left, you must yield the right of way to oncoming traffic. a. TRUE b. FALSE

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 19034 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15821 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10980 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10412 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8726 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8148 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7849 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6496 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5800 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5701 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5483 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4989 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4981 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4693 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4495 persons