A simple program to ask the user to give two numbers and then the program will divide the two given numbers using pointers in C programming language.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Please subscribe to my channel https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg
=================================================
Want to support my channel?
GCash Account
Jake Pomperada
09173084360
Paypal
https://paypal.me/jakerpomperada
Patreon
https://www.patreon.com/jakerpomperada
Thank you very much for your support.
Program Listing
#include <stdio.h>
int main()
{
int first=0, second=0,divide=0;
int *a,*b;
printf("\n\n");
printf("\tDivide Two Numbers Using Pointers in C");
printf("\n\n");
printf("\tEnter First Value : ");
scanf("%d",&first);
printf("\tEnter Second Value : ");
scanf("%d",&second);
a = &first;
b = &second;
divide = *a / *b;
printf("\n\n");
printf("\t===== DISPLAY RESULTS =====");
printf("\n\n");
printf("\tThe Quotient Between %d and %d is %d."
,first,second,divide);
printf("\n\n");
printf("\tEND OF PROGRAM");
printf("\n\n");
}