Can a variable be both constant and volatile?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is cohesion and coupling in c?

0 Answers  


how many errors in c explain deply

0 Answers  


Where register variables are stored in c?

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


what is the most appropriate way to write a multi-statement macro?

1 Answers  






Explain what are reserved words?

0 Answers  


Do you know the difference between exit() and _exit() function in c?

0 Answers  


what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }

20 Answers   Infosys,


When should the volatile modifier be used?

0 Answers  


What are identifiers and keywords in c?

0 Answers  


What is the difference between typeof(foo) and myFoo.GetType()?

2 Answers   Synergy,


What are valid signatures for the Main function?

0 Answers  


Categories