#include int main(void) { int a,b,c; printf(\"Enter values of a,b,c:\"); scanf(\"%d %d %d\",a,b,c); printf(\"\\nDescending order of the numbers entered:
That's because you are not passing the address of your variables to scanf. Change
scanf
scanf("%d %d %d",a,b,c)
to
scanf("%d %d %d",&a,&b,&c)