Friends pls Help me to Solve this prototype ErrorHow to face this PROTYPE ERROR

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suvarna raju
    New Member
    • Feb 2015
    • 1

    Friends pls Help me to Solve this prototype ErrorHow to face this PROTYPE ERROR

    #include<stdio. h>
    #include<conio. h>
    #include<math.h >
    void main()
    {
    double val,result;
    printf("Enter value : ");
    scanf("%f",&val );
    result=asinh(va l);
    printf("Result = %f",result);
    getch();
    }


    This Program when compiled and runned giving error
    asinh should hava protoype error


    how to Solve this... Pls Suggest me Ans friends
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    The code compiles OK using Visual Studio 2013.

    The only message I get is about getch() which is a deprecated function.

    BTW: main() should return int rather than void.

    Comment

    Working...