No argument & no return value, with in one function

  1. profile image45
    ydbalajiposted 7 years ago

    No argument & no return value, with in one function

  2. Riteek Arora profile image60
    Riteek Aroraposted 7 years ago

    A function with no argument and no return value is possible, but rarely used. Programmers generally use it for input and output operations only.

    Example :

    void getdata()
    {
    int c;
    printf("Enter Value Of c");
    scanf("%d",&c);
    }

 
working