Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ** No Argument No Return**
- #include<stdio.h>
- void printline();
- int main()
- {
- printline();
- return 0;
- }
- void printline()
- {
- printf("Sujon shekh");
- }
- **Argument No Return**
- #include<stdio.h>
- void Add_wR(int c,int d);
- int main()
- {
- int a=10, b=20;
- fuad(a,b);
- return 0;
- }
- void fuad(int c,int d)
- {
- int sum;
- sum=c+d;
- printf("%d",sum);
- }
- **Argument and Return**
- #include<stdio.h>
- void Add_R(int c,int d);
- int main()
- {
- int a=10, b=20, k;
- k=sujon(a,b);
- printf("%d",k);
- return 0;
- }
- int sujon(int c,int d)
- {
- int sum;
- sum=c+d;
- return sum;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement