#include <stdio.h>
void main()
{
int protine= 0;
int calorie = ++protine;
printf("The value of the protein variable after pre-increment : %d\n", protine);
printf("Value of calorie Variable: : %d\n", calorie);
calorie = --protine;
printf("The value of the protein variable after pre-decrement : %d\n", protine);
printf("Value of calorie Variable: : %d\n", calorie);
}
#include <stdio.h>
void main()
{
int moisture= 0;
int weight = moisture++;
printf("The value of the moisture variable after post-increment : %d\n", moisture);
printf("Value of weight Variable: : %d\n", weight);
weight = --moisture;
printf("The value of the moisture variable after post-decrement : %d\n", moisture);
printf("Value of weight Variable: : %d\n", weight);
}