Go4Expert Founder
10Apr2007,08:27   #11
shabbir's Avatar
I guess the answers are already there to many questions.
Light Poster
10Apr2007,21:32   #12
Dark_Knight's Avatar
There are quite a few question which I dont know how to solve, so I needed answers for those
Go4Expert Founder
10Apr2007,21:45   #13
shabbir's Avatar
Quote:
Originally Posted by Dark_Knight
There are quite a few question which I dont know how to solve, so I needed answers for those
You can always discuss them in the forums (Unless you get the answers.)
Light Poster
13Apr2007,22:06   #14
Dark_Knight's Avatar
How do u solve this?

/*question number 97*/

Code:

int m = -14;
int n = 6;
int o;
o = m % ++n;
n += m++ - o;
m <<= (o ^ n) & 3;
Assuming two's-complement arithmetic, which one of the following correctly represents the values of m, n, and o after the execution of the code above?
Choice 1
m = -26, n = -7, o = 0
Choice 2
m = -52, n = -4, o = -2
Choice 3
m = -26, n = -5, o = -2
Choice 4
m = -104, n = -7, o = 0
Choice 5
m = -52, n = -6, o = 0
Go4Expert Founder
14Apr2007,00:20   #15
shabbir's Avatar
o = -14 % 7 = 0
n = 7 + (-14) - 0 = -7 which concludes the result.
Light Poster
14Apr2007,02:58   #16
Dark_Knight's Avatar
Thanks!!
Light Poster
14Apr2007,04:25   #17
Dark_Knight's Avatar
*question number 75*/
Which one of the following is true for identifiers that begin with an underscore?
Choice 1
They are generally treated differently by preprocessors and compilers from other identifiers.
Choice 2
They are case-insensitive.
Choice 3
They are reserved for usage by standards committees, system implementers, and compiler engineers.
Choice 4
Applications programmers are encouraged to employ them in their own code in order to mark certain symbols for internal usage. Choice 5
They are deprecated by Standard C and are permitted only for backward compatibility with older C libraries.


Is the answer (1) ?
Light Poster
14Apr2007,04:26   #18
Dark_Knight's Avatar
Sorry, I think its 4
Go4Expert Founder
14Apr2007,06:09   #19
shabbir's Avatar
Quote:
Originally Posted by Dark_Knight
Sorry, I think its 4
Newbie Member
13Jun2007,00:51   #20
AHMAD's Avatar
How Are You