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 |
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
What is conio h in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
What is difference between function overloading and operator overloading?
What are the 4 types of organizational structures?
A program to allow an input operand and operator from the operator and read on the display and output operand.
What is the purpose of type declarations?
How do you determine the length of a string value that was stored in a variable?
main() { int i; printf("%d",i^i); }