ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C
 
 


 

 
 C interview questions  C Interview Questions (2262)
 C++ interview questions  C++ Interview Questions (1118)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (648)
Question
what is const volatile?
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Voliatile means value can be changed at any point .when we
say cont volatile it says value cant be changed by the
programer but can be changed by the hardware ..
for example status register of any hardware ..
its volatile since value of this register can changed at any
time and its const too since its not changed by the programmer.
 
Is This Answer Correct ?    7 Yes 1 No
Test
 
Answer
# 2
read-only data which should not be optimized by compiler
because it might be modified by some ways unknown by
compiler.(ex: HW, or even by other thread if we have const
volatile int *p for example, where p is the address of some
variable which is not const).
 
Is This Answer Correct ?    0 Yes 0 No
N
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is Dynamic Initialization.   3
how can you print&scan anything using just one character? :) HINT: printf,scanf similer   2
what is pointer?   3
Why preprocessor should come before source code?   2
what is data structure   4
How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.   1
i want to job in your company, so how it will be possible. TCS 3
how can write all 1to 100 prime numbers using for loop,if and break ? TCS 1
write a C code To reverse a linked list Motorola 2
second highest number in a given set of numbers TCS 3
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321 HCL 7
What is period operator in c? Wipro 2
 
For more C Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com