What is a symbolic constant?



What is a symbolic constant?..

Answer / venkata mahesh

We can define constants of any type by using the #define
compiler directive. Its syntax is simple--for instance

#define ANGLE_MIN 0
#define ANGLE_MAX 360

would define ANGLE_MIN and ANGLE_MAX to the values 0 and
360, respectively. C distinguishes between lowercase and
uppercase letters in variable names. It is customary to use
capital letters in defining global constants.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

Why main is used in c?

0 Answers  


How does struct work in c?

0 Answers  


What is structure of c program?

0 Answers  


Write a program to generate the first n terms in the series --- 9,11,20,31,...,82

1 Answers   Cognizant,


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

0 Answers  






#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

0 Answers   Wilco,


control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent

1 Answers  


What is #include stdlib h?

0 Answers  


f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?

5 Answers   Geometric Software,


struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));

2 Answers  


What is #line?

0 Answers  


In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 Answers  


Categories