illeagal pointer included what soul i do to correct this type of error as im not able

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • parth247
    New Member
    • Feb 2016
    • 1

    illeagal pointer included what soul i do to correct this type of error as im not able

    #include<stdio. h>

    int main()
    {
    int a, b, c;

    printf("Enter two numbers to add\n");
    scanf("%d%d",&a ,&b);

    c = a + b;

    printf("Sum of entered numbers = %d\n",c);

    return 0;
    }
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    There is no error in the code you posted.

    Maybe you could post the exact error the compiler generated

    Comment

    Working...