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

Is the C language required to learn Java?
No, learning the C language is not a strict requirement for learning Java. While C and Java share some syntactical similarities, they are distinct programming languages with different paradigms. Java was...
Profile Photo
Akhilesh
0 0
View Comments7
Why C language is still available in market, while so many & much easier languages are available ?
Now, I agree that you can use OOP in C to some extent, but it's sort of painful and inelegant (well at least compared to C++ I guess). So, what makes C so popular? Is it efficiency; being low-level; the...
Profile Photo
Pankaj
hi sir c progarm codeing how to write sir........
take any C book then u can learn more...
Profile Photo
Suryateja
What does %d mean in the C programming language?
signed decimal integer %d is not the only format specifier in C to represent integers. To be precise, %d is used to represent a signed decimal integer.
Profile Photo
Vikas
0 0
View Comments6
Are C Programmers currently in demand?
Ofcourse, C is alwasy in demand. In the beginning a lot of the big project developed in C language. Now a days, there are a lot of language in market and speciallity is growing in IT field. For a big organization...
Profile Photo
Harsha

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

Ask a Question

Related Lessons

C Program-Upper Case Demo
/*WAP to print the character entered by user in upper case*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ char ch; //Function for clearing screen clrscr(); ...
Profile Photo

Some Tricky Questions in C
Can you write two functions in which one executes before main function and other executes after the main function? #pragma startup #pragma exit Where, priority is optional integer value.For user priority...
Profile Photo

C Program Sample Application
//Standard Library Functions(Header Files used) #include<stdio.h> #include <conio.h> //Main method int main() { // function for clearing screen clrscr(); // function to print the output...
Profile Photo


Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...
H

Harshal G.

0 0
View Comments0

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