Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Your manager has asked you to integrate an existing project
Scenario:-
Your manager has asked you to integrate an existing project
with an external timer. Her requirements include adding a global
variable whose contents can be only read by the software
but whose value will be continuously updated by the hardware clock.
Referring to the above scenario, which one of the following
variable declarations satisfies all the requirements?
1) extern volatile clock;
2) extern const volatile long clock;
3) extern long clock;
4) extern const mutable long clock;
5) extern mutable long clock;
✍: Guest
2012-04-26, 2747👍, 0💬
Popular Posts:
What are the types of variables x, y, y and u defined in the following code? #define Atype int* type...
What would you use to compare two String variables - the operator == or the method equals()? You can...
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...
Do You Know the Book "JUnit in Action"? You should know this book. It received some good reviews. Ti...
What will the following piece of code do? int f(unsigned int x) { int i; for (i=0; x!=0; x>&a...