Home » C Programming » Functions » Question
  1. What error will the following function give on compilation?
    fun(int x, int y )
    {
    int x ;
    y = 54 ;
    return x ;
    }
    1. Missing parentheses in return statement
    2. The function should be defined as int fun(int x, int y )
    3. Re declaration of x
    4. None of the above
Correct Option: C

Re declaration of a.



Your comments will be displayed only after manual approval.