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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you print an address?

1146


What are shell structures used for?

1054


Do you have any idea about the use of "auto" keyword?

1090


Why is it important to memset a variable, immediately after allocating memory to it ?

2077


What is the correct code to have following output in c using nested for loop?

1087


Why structure is used in c?

1192


What is break in c?

1048


main() { printf("hello"); fork(); }

1201


What is line in c preprocessor?

1063


What is function and its example?

1225


Is null a keyword in c?

1198


Explain how can I make sure that my program is the only one accessing a file?

1225


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1221


Explain what header files do I need in order to define the standard library functions I use?

1173


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1699