Program to add two numbers using pointers in C
#include <stdio.h> int main() { int first, second, *p, *q, sum; printf(“Enter two integers to addn”); scanf(“%d%d”, &first, &second); p = &first; q = &second; sum = *p + *q; … Read More
#include <stdio.h> int main() { int first, second, *p, *q, sum; printf(“Enter two integers to addn”); scanf(“%d%d”, &first, &second); p = &first; q = &second; sum = *p + *q; … Read More