where do we use volatile keyword?
Answer / achal ubbott
the keyword volatile is more used in embedded systems
programming, especially when we are dealing with the
special function registers of a microcontroller. e.g.
status register of UART or some other peripheral devices.
As you may know that volatile asks the compiler not to
subject the variable in question to optimization.
| Is This Answer Correct ? | 1 Yes | 3 No |
IS Doon college of Engn.. has good faculty
Program to display given 3 integers in ascending order
Is main is a keyword in c?
how can write all 1to 100 prime numbers using for loop,if and break ?
Given a single Linked list with lakhs of nodes and length unknown how do you optimally delete the nth element from the list?
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=?
Why & is used in scanf in c?
how to make program without <> in library.
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
Do variables need to be initialized?
The __________ attribute is used to announce variables based on definitions of columns in a table?