return decimal number back caller function
I am new to pointer..and trying to use pointer in my program.
here is what I want pointer does....
IN my program, I have a function definition that return back to caller function with a decimal number. now, i want save that value, and everytime i return another decimal number, i want to save that decimal again...kept doing it until i return all decimal back to caller function...now, i want to retreat and perform the Or operation......
Can someone look at my code, and suggest how to code in pointer? can pointer is a way to save all your values everytime you return decimal number back caller function?
please help.. I am new to C, and new to pointer...learn how to use it...any good links that help me...
please refer to file 4 code pointer
can someone look at my above code...i think i have wrong, but not sure how to use pointer in my code.... i want to save all my decimal number when return decimal number back caller function... please help?
the only way i think pointer will do my trick? I am not sure ?