#19_(2)Functions in C

 # include <stdio.h>

//With argument without return value

void mohit(int n)
{
    for (int i = 1i < ni++)
    {
        printf("%c\n"'*');   //without return value
    }
    
}

int main()
{
    mohit(5);    //With argument
    return 0;
}

Comments

Popular posts from this blog

#64_Funtions for File I/O in C

#51_Ex_Game

#24_Stack_using_an_array