Function with Arguments and no Return value in C - C Programming Tutorial 105

preview_player
Показать описание
Function with Arguments and no Return value in C - C Programming Tutorial 105
- How to create a function; which accepts parameters and does not return any value.

Example Code:
#include <stdio.h>
void square(int num);
void sum(int num1,int num2);
int main()
{
square(2);
square(3);
printf("\n");
sum(2,3);
sum(3,4);

return 0;
}
void square(int num)
{
printf("%d\n", num * num);
}
void sum(int num1,int num2)
{

printf("%d\n", num1 + num2);
}

Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.

=========================================

Follow the link for next video:

Follow the link for previous video:

=========================================

C Programming Tutorials Playlist:

=========================================
Watch My Other Useful Tutorials:-

Computer Programming Fundamentals Playlist:-

C Practical LAB Exercises Playlist:-

C++ Tutorials Playlist:

=========================================

► Subscribe to our YouTube channel:

► Visit our Website:

=========================================
Hash Tags:-
#ChidresTechTutorials #CProgramming #CProgrammingTutorial
Рекомендации по теме
Комментарии
Автор

Once you watch the video; answer the following questions:
1. Function calls are managed in which memory ?
2. Which keyword indicates a function does not return any value ?

ChidresTechTutorials
Автор

best explanation ever, sir pls put videos covering entire C language pls sir

vishalp.v
join shbcf.ru