No Return With Argument Function in C

When a function has arguments, it receive any data from the calling function but it returns no values.

Source Code

//No Return With Argument Function in C
//Function Declaration
void add(int,int);
int main()
    int a,b;
    printf("\nEnter The Value of A & B : ")l
    //Function Calling
    add(a,b);  // Actual Parameters
    return 0;
//Function Definition
void add(int x,int y)  //Formal Parameters
    int c;
    printf("\nTotal : %d",c);
To download raw file Click Here

List of Programs

Sample Programs

Switch Case in C

Conditional Operators in C

Goto Statement in C

While Loop Example Programs

Looping Statements in C

For Loop Example Programs

Array Examples in C

One Dimensional Array

Two Dimensional Array in C

String Example Programs in C

Functions Example Programs in C

Learn All in Tamil © Designed & Developed By Tutor Joes