Want this question answered?
The const keyword transforms a variable into a constant. This means the constant cannot be altered via that constant's identifier. The const keyword can also be applied to a class instance method, such that the method will not alter a class instance's immutable members. Note that the const keyword is merely a programming aid that provides assurances a constant will not be altered inadvertently. However, it is still possible to alter the constant by using a non-constant pointer to the constant. However you have to make a conscious effort to override constant behaviour.
Declaring a Constant: We can declare a constant using the keyword "const". E.g. const abc='a';const number=10; const number[10]={1,2,3,4,5,6,7,8,9,10}; const name[7]={'K','U','N','D','A','N'}; #include<stdio.h> #include<conio.h> void main() { int i; const name[7]={'K','U','N','D','A','N'}; for(i=0;i<7;i++) { printf("%c",name[i]); getch(); }
An alternative method for naming integer constants is often more convenient than 'const' . This can be achieved by using keyword enum. for example : enum { START , PAUSE , GOO };
When you do a keyword search avoid using the word or letter I and also generic words, like to, the, on etc. You also need to try not using commas or punctuations in your keyword search.
hey paiges lol hailee -xx-
There are many possible advantages of using scent to attract a mate. One advantage is that you know they're compatible.
Africa
It is less expensive and safer ,particularly for early trainig
advantage and disadvantage of using cd-rom to get information about encyclopedia rather than internet
You cannot change the value of a const variable. That's what const means - it is constant. If you are considering "trickery" using pointers and the scanf function, understand that this is not supported, is highly non portable, and may fail, depending on whether or not the implementation places its const data in read only memory. Besides, most modern compilers will not allow you to place a const variable as a non-const argument to a function. Use the language within its defined boundaries.
we do it using the throw keyword.
duffer idiot if i knew the answer i would not ask the question..................