Hello, i'm new to C and i have no idea why i'm constantly getting 2293532 as the output value of %d. Any help is appreciated, thanks!
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int friends;
printf("How many friends do you have? \n");
scanf(" %d", &friends);
printf("You have %d friend%s", &friends, (friends!=1) ? "s" : "" );
return 0;
}