Pointers


  1. Explain the meaning of the following function declaration.
    void (int a, int b, int *c, float *d);
    

  2. Write an example function call for the function declaration given above.


Answers











































  1. The function is sent 4 arguments. the first two arguments are used in the function, but their value is unchanged. The third and fourth arguments will have their values altered in the function.

  2. Example function call:-
    
    function(a,b &c,&d);
    
    

    Back to Questions Back to Main Page for Lecture 7