Functions 2 - Print N Asterisks Y per line one at a time

preview_player
Показать описание
Link to Code
Рекомендации по теме
Комментарии
Автор

Sir
While writing function prototype
Void print_asteriks(short x, shorty)
x and y variables are used
Whereas while writing the function definition
Void print_asteriks(short total, short per_line)
{
}
Here we use total and Per_line variables
Why different variables are being used x, y and total, per_line

malvikakunwarsen
Автор

Sir
Can we write print_asterisks afer
#include<stdio.h>

theraikwal
Автор

sir, can we declare function in main function also? or we have to declare it outside main function?

deveshkumar
Автор

Sir at 2:40 ... Here void tells us about whether the function is taking value or not.... Or it tells that it will not return any value...?

shikhardhyani
Автор

sir can we return multiple values from a funtion to a main function?
and can we also introduce another function for taking the input for total and per_line and return those value to main function and then run the program?

falcongaming