Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews PC Hardware Interviews:80858086A + (Plus) HardwareA+ and Basic PCBasic ComputerBIOSCD-ROM DriveComputer ArchitectureComputer Architecture And DesignCPU (Central Processing Unit)ECDLElectronicsEmbedded SystemsFloppy DiskHard Disk (HD)Hardware and Software DesignHardware DesignIntel MicroprocessorLaptop Hardware RepairerMicroprocessorMotherboardRAMx86Zip Drive
Copyright © 2018. All Rights Reserved
Embedded Systems Interview Question:
Explain What are different qualifiers in C?
Submitted by: Administrator1) Volatile:
A variable should be declared volatile whenever its value could change unexpectedly. In practice, only three types of variables could change:
► Memory-mapped peripheral registers
► Global variables modified by an interrupt service routine
► Global variables within a multi-threaded application
2) Constant:
The addition of a 'const' qualifier indicates that the (relevant part of the) program may not modify the
variable.
Submitted by: Administrator
A variable should be declared volatile whenever its value could change unexpectedly. In practice, only three types of variables could change:
► Memory-mapped peripheral registers
► Global variables modified by an interrupt service routine
► Global variables within a multi-threaded application
2) Constant:
The addition of a 'const' qualifier indicates that the (relevant part of the) program may not modify the
variable.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.