WAP to display addition of 2 numbers using function(with parametrs & without return type)


Comments

  1. #include
    void shashi();
    void main()
    {

    shashi();
    }
    void shashi()
    {
    int a=20,b=80,c;
    c=a+b;

    printf("%d",c);
    }

    ReplyDelete
  2. #include
    void shashi();
    void main()
    {

    shashi();
    }
    void shashi()
    {
    int a=20,b=80,c;
    c=a+b;

    printf("%d",c);
    }

    ReplyDelete
  3. #include
    void vikram();
    void main()
    {

    vikram();
    }
    void vikram()
    {
    int a=12,b=14,c;
    c=a+b;

    printf("%d",c);
    }

    ReplyDelete
  4. #include
    void Abhi();
    void main()
    {

    Abhi();
    }
    void Abhi()
    {
    int a=12,b=14,c;
    c=a+b;

    printf("%d",c);
    }

    ReplyDelete

Post a Comment