Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between declaring a variable by
constant keyword and #define ing that variable?



What is the difference between declaring a variable by constant keyword and #define ing that varia..

Answer / ganesh

constant- it cannot be changed
# define - it can be changed if we can redefine

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

1) int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain the explain the output

2 Answers  


What is the difference between fork() and vfork()?

2 Answers  


What is use of null pointer in c?

0 Answers  


How many main () function we can have in a project?

0 Answers  


write a program to generate 1st n fibonacci prime number

2 Answers  


How we can insert comments in a c program?

0 Answers  


to get a line of text and count the number of vowels in it

3 Answers   Satyam,


p*=(++q)++*--p when p=q=1 while(q<=6)

0 Answers   KINPOE,


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


write a program whose output will be- 1 12 123 1234

10 Answers  


f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed

5 Answers  


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


Categories