Function with no argument and no return value. C Programming Home » C Functions » Function with no argument and no return value /*Function with no argument and no return value*/ #include #include void main() { Sum(); Sum(); getch(); } Sum() { int a,b,c; printf("\n Enter the Two No. for Sum :\n"); scanf("%d%d",&a,&b); c= a +b; printf("Sum=%d", c); } Output is as: Tweet Share Share Share Share Related Post
ConversionConversion EmoticonEmoticon