[Solved] How can i compare three strings using only one pointer and nothing else
[ad_1] I want to have a program in C that reads 3 numbers and prints the bigger one, using only one pointer and no more variables. #include <stdio.h> #include <stdlib.h> int main(void) { int *p; p = malloc(sizeof *p); // assume it worked if (scanf(“%d”, p) != 1) /* error */; // read 1st number … Read more