• Where function pointer stored?
    Hi Where function pointer stored? in stack , code segment , Data segment for example in the following code where fp get stored? how can we know that where the pointer variable stored ? #include...
  • Function return value if () are missing
    As I am sure most of us have at some time, I have ocasionally missed the () off the end when calling a function. e.g myFunction; instead of myFunction(); When I do this the code compiles and...
  • Where does RL-RTX store function return addresses?
    Hi Everyone. I am a little confused about something. Let's Suppose I'm running some concurrent tasks in RL-RTX. and let's say one of those tasks is calling a chain of functions ( a function that...
  • registers used for passing parameters and returning
    I am writing an application in which I need to mix C and assembly. I need to write the most optimized code for which I need the answer to the following questions 1) When passing parameters, is there...
  • Returning multiple values from a function??
    I want a function to return multiple values after doing data processing i.e. void test(int a, int b int c) whereas a, b and c have values set and control is returned to the caller with the values sent...