| ??? 05/06/08 13:16 Read: times |
#154479 - the whole question is silly Responding to: ???'s previous message |
i want to find out if the processor is 8 bit 16 bit 32 bit or 64 bit.
There is no C compiler that is target processor independent. So, you know the 'size of the processor' by 'knowing' which compiler is used. thus the answer is: look at the box the compiler came in Erik |
| Topic | Author | Date |
| find the size of processor | 01/01/70 00:00 | |
| C is not that portable! | 01/01/70 00:00 | |
| thanks but could u clarify | 01/01/70 00:00 | |
| I think you missed the point | 01/01/70 00:00 | |
| Various compilers different results | 01/01/70 00:00 | |
| Word size - not code size? | 01/01/70 00:00 | |
| u r correct | 01/01/70 00:00 | |
| Determining object sizes - at run time | 01/01/70 00:00 | |
| Not quite | 01/01/70 00:00 | |
| Correct ! | 01/01/70 00:00 | |
| not sure what you would do with the information | 01/01/70 00:00 | |
| This was an interview question | 01/01/70 00:00 | |
| More trick interview questions | 01/01/70 00:00 | |
| I found the solution, Andy , Neil please comment | 01/01/70 00:00 | |
| Great! Now do it in C | 01/01/70 00:00 | |
| Same logic for C and asm | 01/01/70 00:00 | |
| No, it isn't. | 01/01/70 00:00 | |
| What would be the point? | 01/01/70 00:00 | |
| It is worse than that | 01/01/70 00:00 | |
| the whole question is silly | 01/01/70 00:00 | |
| It can even get this silly... | 01/01/70 00:00 | |
It is an interview question | 01/01/70 00:00 |



