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 Can we have constant volatile variable?
Submitted by: AdministratorConst and volatile keywords should not be used together because both are opposite in nature.
A variable is declared as "const" means it's value is not able to be changed but if it is declared as "Volatile" then it is not under control.
Submitted by: Administrator
A variable is declared as "const" means it's value is not able to be changed but if it is declared as "Volatile" then it is not under control.
Submitted by: Administrator
Yes, we can have both together and is generally used in scenarios where pointers to memory-mapped hardware registers is used or to access variables in shared memory areas
Submitted by: Giridhar
Submitted by: Giridhar
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.