What is the 'volatile' keyword used for in embedded systems?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

C language Faculty (online Classes )

The volatile keyword is used in Embedded C programming to indicate to the compiler that a variable may change unexpectedly during execution. When a variable is declared as volatile, the compiler will not optimize access to it, as it may be modified by hardware or other low-level software running in the...
read more
The volatile keyword is used in Embedded C programmingto indicate to the compiler that a variable may change unexpectedly during execution. When a variable is declared as volatile, the compiler will not optimize access to it, as it may be modified by hardware or other low-level software running in the background read less
Comments

Professional Trainer

The volatile keyword is used in Embedded C programming to indicate to the compiler that a variable may change unexpectedly during execution. When a variable is declared as volatile, the compiler will not optimize access to it, as it may be modified by hardware or other low-level software running in the...
read more
The volatile keyword is used in Embedded C programming to indicate to the compiler that a variable may change unexpectedly during execution. When a variable is declared as volatile, the compiler will not optimize access to it, as it may be modified by hardware or other low-level software running in the background. read less
Comments

Related Questions

What is the meaning of \n and \t in C language?
is new line and \t is for tab
Priya
0 0
5
Is C programming necessary to learn to become a software engineer?
C language is starting language for programming, if you will understand the concept of C language then it would be very easy to learn all programming language because somehow concepts are similar
Ujwalajagdale
0 0
7
Can you suggest me some books for learning C?
"letus c" for c programming yashwant kanetkar
Yamun
What are the types of linkages in C Programming?
Type of linkage Type of object Accessibility external external throughout the program internal external a single file none internal local to a single function
Akash
0 0
9

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

What is a Programming Language
What is a Language? Language is a communication system of human. What is a programming Language? A programming Language is a formal constructed language design to communicate...

Set 0 To Kth Bit In A Variable
The following code snippet Set 0 to Kth Bit in an variable #include int UnsetBitValue(int n, int k);int main(){ printf("%d\n\n",UnsetBitValue(255,6)); return 0;}// Set kth bit to zeroint UnsetBitValue(int...

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...

How do i get best Campus / Off Campus Placement?
Companies are looking for Skilled Freshers. So build your technical skills while doing MCA / BTech / BCA / BSc (IT or CS) into below areas- 1. Strong your programming & debugging skills ...

Find out the Output of the following with reason and get C Language Training fess less by 10%
1. void main() { clrscr(); printf(5+"Beautifull"); getch(); } 2. void main() { int a=50; clrscr(); ...

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you