1 Answer

Answer :

The volatile keyword is a part of C standard, and this warns the compiler that ISR might change the value of a variable so that the compiler will not optimize the code in a way that will make it fall.

Here, need to declare:

static volatile long int iSecondsToday;

With the volatile keyword in the declaration, the compiler will know that the variable is volatile and each reference is read from memory.

If the keyword is not supported, you can still get the similar result by turning off the compiler optimizations.
Like 0 like

Related Questions

Description : Explain about this keyword?

Last Answer : Java define “this” keyword , that can be used inside any method to refer the current object. “this “ always a reference to the object on which method was invoked .”this” reference is implicitly used to refer to both the instance variables and method of current object.

Description : What is Keyword Streaming?

Last Answer : Keyword streaming is a popular SEO methodology that is used to draw extraordinary traffic draw to the websites. In this method, popular keywords are further optimized to maximize the reach.

Description : Using which keyword we can access value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) either super or this

Last Answer : C) this

Description : In C++, the keyword void was used ……….. A) To specify the return type of function when it is not returning any value. B) To indicate an empty argument list to a function. C) To declare the generic pointers. D) All of the above.

Last Answer : D) All of the above.

Description : Describe the following terms: (i) Keyword (ii) Identifier (iii) Variable (iv) Constant

Last Answer : (i) Keyword: Keywords are special words in C programming which have their own predefined meaning. The functions and meanings of these words cannot be altered. Some keywords in C Programming are if, while, ... or a string literal. There are enumeration constants as well. Example: 121 234 3.14 

Description : Which of the following is not a keyword? a) eval b) assert c) nonlocal d) pass

Last Answer : Answer: a Explanation: eval can be used as a variable.

Description : Which of the following is used to make an Abstract class ? (A) Making atleast one member function as pure virtual function (B) Making atleast one member function as virtual function (C) Declaring as Abstract class using virtual keyword (D) Declaring as Abstract class using static keyword

Last Answer : (A) Making atleast one member function as pure virtual function

Description : A keyword can be used as an identifier by using the  A) prefix # B) prefix @ C) prefix $ D) prefix x

Last Answer : A keyword can be used as an identifier by using the prefix @

Description : A volatile substance added to a paint to make its application easy and smooth, is known as (A) Base (B) Solvent (C) Vehicle (D) None to these

Last Answer : Answer: Option B

Description : Non-volatile heavy metals in kiln are fixed into ____ a) Clinker’s crystalline structure b) Fumes c) Solid lump d) Slag

Last Answer : Clinker’s crystalline structure

Description : Which of the following is the lightest and most volatile liquid fuel?  A.Gasoline  B.Kerosene  C.Fuel oil

Last Answer : Answer: A

Description : Cache and main memory will lose their contents when the power is off. They are-- 1 Dynamic 2 Faulty 3 Volatile 4 Static

Last Answer : 3 Volatile

Description : In computer storage, what does volatile mean?

Last Answer : All data in memory is lost when the power source is removed.

Description : Which computer memory is used for storing programs and data currently being processed by the CPU? a. Mass memory b. Internal memory c. Non-volatile memory d. PROM

Last Answer : b. Internal memory

Description : Which of the following terms is the most closely related to main memory? a. Non volatile b. Permanent c. Control unit d. Temporary

Last Answer : d. Temporary

Description : The magnetic storage chip used to provide non-volatile direct access storage of data and that have no moving parts are known as a. Magnetic core memory b. Magnetic tape memory c. Magnetic disk memory d. Magnetic bubble memory

Last Answer : a. Magnetic core memory

Description : VGA is a. Video Graphics Array b. Visual Graphics Array c. Volatile Graphics Array d. Video Graphics Adapter

Last Answer : a. Video Graphics Array

Description : n(log n) is referred to A. A measure of the desired maximal complexity of data mining algorithms B. A database containing volatile data used for the daily operation of an organization C. Relational database management system D. None of these

Last Answer : A. A measure of the desired maximal complexity of data mining algorithms

Description : Application of HPLC includes? A. Detection of functional groups in organic compounds B. Determination of molecular mass C. Separation of volatile compounds D. Impurity profiling

Last Answer : D. Impurity profiling

Description : Which computer memory is used for storing programs and data currently being processed by the CPU? a. Mass memory b. Internal memory c. Non-volatile memory d. PROM

Last Answer : b. Internal memory

Description : Which of the following terms is the most closely related to main memory? a. Non volatile b. Permanent c. Control unit d. Temporary

Last Answer : d. Temporary

Description : The magnetic storage chip used to provide non-volatile direct access storage of data and that have no moving parts are known as a. Magnetic core memory b. Magnetic tape memory c. Magnetic disk memory d. Magnetic bubble memory

Last Answer : d. Magnetic bubble memory

Description : VGA is a. Video Graphics Array b. Visual Graphics Array c. Volatile Graphics Array d. Video Graphics Adapter

Last Answer : a. Video Graphics Array

Description : Which of the following is not a type of volatile evidence a) Routing Tables b) Main Memory c) Log files d) Cached Data

Last Answer : c) Log files

Description : Which of the following is not type of volatile evidence: A)Routing Tables B) Main Memory C)Log Files D) Cached Data

Last Answer : D) Cached Data

Description : Will volatile evidences last forever a. No b. Not Sure c. Yes d. None of the above

Last Answer : a. No

Description : . Will volatile evidences last forever a. No b. Not Sure c. Yes d. None of the abovev

Last Answer : a. No

Description : Which of the following is not a type of volatile evidence? a. Routing Table b. Main memory c. Log files d. Cached Data

Last Answer : c. Log files

Description : When collecting evidence, you should always try to proceed from a. Least volatile to most volatile evidence b. Most volatile to least volatile evidence c. All evidence at same priority d. Least then medium then most volatile evidence

Last Answer : b. Most volatile to least volatile evidence

Description : Which of the following is not type of volatile evidence: A)Routing Tables B) Main Memory C)Log Files D) Cached Data

Last Answer : D) Cached Data

Description : Which of the memory is volatile memory (A) ROM (B) RAM (C) PROM (D) EEPROM

Last Answer : Ans: B RAM is a volatile memory (Volatile memory means the contents of the RAM get erased as soon as the power goes off.)

Description : Describe the different techniques( any three) for isolation of volatile oils.

Last Answer : Methods of isolation of volatile oil: A) Distillation : Most of the oils are obtained by distillation which are of following 3 types 1.Water distillation -is mostly applicable to such plant ... exhausted petals are replaced by fresh petals and then the oil is collected from the fatty material.

Description : Which architecture involves both the volatile and the non-volatile memory? A. Harvard architecture B. Von Neumann architecture C. None of the mentioned D. All of the mentioned

Last Answer : A. Harvard architecture 

Description : Which of the following phrases is NOT appropriate for a description of benzene? w) characteristic reactivity of an alkene x) volatile liquid y) aromatic hydrocarbon z) resonance hybridization

Last Answer : ANSWER: W -- CHARACTERISTIC REACTIVITY OF AN ALKENE

Description : Random Access Memory (RAM), a form of computer storage, is a ............. memory. (A) Non-volatile (B) Volatile (C) Permanent (D) Secondary

Last Answer : Answer: B

Description : ................. is subject oriented, integrated, time variant, non-volatile collection of data in support of management decisions. (A) Data mining (B) Web mining (C) Data warehouse (D) Database Management System

Last Answer : (C) Data warehouse

Description : Which of the following computer memories is non-volatile ? (1) DRAM (2) SRAM (3) ROM (4) RAM

Last Answer : ROM

Description : RAM is used as a short memory in a computer because it: (1) Is volatile (2) Is programmable (3) Has less capacity (4) Is very expensive

Last Answer : Is volatile

Description : Spirit in contact with body gives cool sensation because it is : (1) liquid (2) transparent (3) highly volatile (4) a good conductor

Last Answer : highly volatile

Description : Which of the following type of coal has the lowest proportion of volatile matter ? (1) Lignite (2) Peat (3) Bituminous (4) Anthracite

Last Answer : Anthracite

Description : Alcohol is more volatile than water because _________ is lower than water. (1) its boiling point (2) its density (3) its viscosity (4) its surface tension

Last Answer : its boiling point

Description : Pure water is bad conductor of electricity because it is (1) feebly ionized (2) not volatile (3) a very good solvent (4) a non-polar solvent

Last Answer :  feebly ionized

Description : In a refrigerator what produces the cooling ? (1) The ice which deposits on the freezer (2) The sudden expansion of a compressed gas (3) The evaporation of a volatile liquid (4) None of these

Last Answer : None of these

Description : Which computer memory is volatile?  (a) RAM (b) ROM (c) EPROM (d) PROM

Last Answer : Answer is A)RAM.because It store information temporary only.

Description : Is FPGA a volatile device?

Last Answer : Yes, FPGA is a volatile device.

Description : Normally, the FPGA resources are used less than 70% because:  a. Routing becomes excessively complicated b. Power issues c. Clock frequency d. Simulation time increases

Last Answer : Normally, the FPGA resources are used less than 70% because: Routing becomes excessively complicated

Description : List and describe three general approaches to improve designer productivity.

Last Answer : Automation: The task of using a computer program to replace manual design effort. The program replaces manual design effort. Synthesis. Reuse: The ... correctness/completeness of each design step. Hardware/software co-simulation.

Show MoreNext Page → ← Prev Page