|
||||||
| C Tutorials All C Tutorials and Code |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
Volatile:: The keyword volatile is used to specify that the value of a variable can be changed explicitly by a program even in the same expression where no external or explicit change is made in the value of the variable by the program. This, explicit specification of volatility is important because c automatically assumes a variable on the right side of an expression to have a constant value, and refers to that value if future for the same statement. Thus d=a+b+c+a*a+d; will have same values of ‘a’ throughout by default. This is an implicit optimization of all modern compilers. This can also overcome problems of changing compilers, which differ in evaluation rules for expressions. This is very helpful for ports, which have values that can be changed by external conditions only. Static :: 1. Static local variables :: Code:
#include<stdio.h>
int ret()
{
static int aa;
return aa++;
}
main()
{
int a;
for(i=0;i<10;i++)
{
printf("%d ",ret());
}
getch();
}
Know further here :: Keywords less used | TECHARRAZ |
|
|||||
|
Excellent Read! +rep given.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Post a job on our freelance section! Paste between computers/devices and Collaborate on Code!. |
|
|||||
|
Thanks Xav. My alexa rank is 2,383,611 for a 1 week average, and 11,771,264 for 3 months average, although my blog is up only around 10 days! techarraz.com - Traffic Details from Alexa |
|
|||||
|
What did you build your website for? Just to learn and write about yourself for family members? My first website was similar. I had a single HTML page just talking about Linux and myself. I was using Slackware 3.x at the time and I don't believe PHP had been invented (at least I hadn't heard of it).
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Post a job on our freelance section! Paste between computers/devices and Collaborate on Code!. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SEO Querry | Chaky | Search Engine Optimization | 11 | 09-09-2008 01:07 AM |
| Ambitious web 2.0 project, keywords: artists, community, portfolio | Thizke | MarketPlace | 8 | 06-05-2008 01:02 PM |
| 14 Ways to SEO Wordpress | xtraze | Search Engine Optimization | 4 | 04-23-2007 05:03 PM |
| please help me how to change keywords in c.. | bryan | C and C++ | 1 | 01-29-2007 11:25 AM |
| Keyword Optimization - How To Achieve It | ravs2k6 | Marketing | 11 | 07-27-2006 06:15 PM |
Algorithms and Data Structures
Programming Language Popularity
Code Collaboration
Podnet IRC Network
AmpHosted
Goal #1: 1,000 Blogs
Goal #2: 1,000 Wiki Pages
Goal #3: 300,000 Posts
Goal #4: 20,000 Threads
Done: 30%, 23%, 55%, 75%