Pointer as function Program 
Pointer as Function Output 
Copy Text from below 
#include<stdio.h>
#include<conio.h>
void add(int x,int y)
{
    printf("\nFirst value is : %d ",x);
    printf("\nSecond value is : %d ",y);
    printf("\nAddition is %d : ",x+y);
}
main()
{
    int a,b;
    void (*ptr)(int,int); //Pointer for function
    ptr=add; //point Function
    printf("Enter two value : ");
    scanf("%d%d",&a,&b);
    ptr(a,b); // Function call
}
Download pdf file 
For more program 
If you are interested in cool Interesting Facts watch this Video :
 For  more Facts and early Update subscribe the chennel :
 
 
0 Comments
Post a Comment