Discuss C Most tricky Questions please answer in the C Programming forum on Dev Shed. C Most tricky Questions please answer C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
Posts: 4
Time spent in forums: 44 m 17 sec
Reputation Power: 0
C Most tricky Questions please answer
INSTEAD OF STARTING DISCUSSIONS @SALEM IS GIVING LINKS OF LAW THAT IS NOT SUPPOSED TO BE USED HE IS UNABLE TO UNDERSTAND THE QUESTION I AM ASKING AND IRRITATING ME WITH HIS COMMENTS. HENCEFORTH I DELETE MY QUESTION
Posts: 3,840
Time spent in forums: 2 Months 3 Weeks 2 Days 19 h 21 m 53 sec
Reputation Power: 1774
How about YOU tell us what you think.
I mean, if I just tell you "both" and "b", would you just run off to teacher with the answers and be completely clueless until you got the marks back, only to find out that my guesses were no better than yours.
Also, if you can't figure these out (or at least post some kind of description of what you think the answers should be), then what are you going to do with next weeks homework (which will be that much harder).
Tell us what you think, and why, then we can help you with the reasoning to
- help you figure out this weeks homework
- put you in a much better position for tackling next weeks homework.
Posts: 4
Time spent in forums: 44 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by salem
How about YOU tell us what you think.
I mean, if I just tell you "both" and "b", would you just run off to teacher with the answers and be completely clueless until you got the marks back, only to find out that my guesses were no better than yours.
Also, if you can't figure these out (or at least post some kind of description of what you think the answers should be), then what are you going to do with next weeks homework (which will be that much harder).
Tell us what you think, and why, then we can help you with the reasoning to
- help you figure out this weeks homework
- put you in a much better position for tackling next weeks homework.
INSTEAD OF STARTING DISCUSSIONS @SALEM IS GIVING LINKS OF LAW THAT IS NOT SUPPOSED TO BE USED HE IS UNABLE TO UNDERSTANDING THE QUESTION I AM ASKING AND IRRITATING ME WITH HIS COMMENTS. HENCEFORTH I DELETE MY QUESTION
Posts: 3,840
Time spent in forums: 2 Months 3 Weeks 2 Days 19 h 21 m 53 sec
Reputation Power: 1774
> Salem this is not my Homework.It is the question asked in interview. I have explained first question below with more clarity
Even more reason not to spoon-feed you the answer.
What are your co-workers and employer going to think when it seems all you're good for is warming the seat?
Interview questions are a pretty low bar just to separate the chancers from people who might know what they're talking about. The actual work will be much harder, and (importantly for you) cannot be found just by doing google searches.
In short, unless this is an "entry level, all training provided" position, failing to ace the interview questions should be of some concern to you.
> Question 1 which case you are going to use if the given value either is 1 or 10 ?
> Question 2 which case you are going to use if the given value must be 1 or 10 ?
These make little sense, since the tests are full of >= and <=, which imply a range of values.
Posts: 4
Time spent in forums: 44 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by salem
> Salem this is not my Homework.It is the question asked in interview. I have explained first question below with more clarity
Even more reason not to spoon-feed you the answer.
What are your co-workers and employer going to think when it seems all you're good for is warming the seat?
Interview questions are a pretty low bar just to separate the chancers from people who might know what they're talking about. The actual work will be much harder, and (importantly for you) cannot be found just by doing google searches.
In short, unless this is an "entry level, all training provided" position, failing to ace the interview questions should be of some concern to you.
As for your first question, some reading
> Question 1 which case you are going to use if the given value either is 1 or 10 ?
> Question 2 which case you are going to use if the given value must be 1 or 10 ?
These make little sense, since the tests are full of >= and <=, which imply a range of values.
INSTEAD OF STARTING DISCUSSIONS @SALEM IS GIVING LINKS OF LAW THAT IS NOT SUPPOSED TO BE USED HE IS UNABLE TO UNDERSTAND THE QUESTION I AM ASKING AND IRRITATING ME WITH HIS COMMENTS. HENCEFORTH I DELETE MY QUESTION....@SALEN **** OFF