Program Console Vignaankosh.com
Execution Panel
Console is empty.
Unary Operators (-, ++, --, !, &, sizeof) is an interactive C dry run visualizer from the Input Output programs section. Study the source code, then use the execution controls to follow each step, variable update, highlighted line, and console output.
This page provides a browser-based dry run with source-code highlighting, auto-scroll, voice narration controls, and execution output for learning the program step by step.
#include <stdio.h>
int main() {
int a = 10;
_Bool b = 0;
a = -a;
printf("\nUnary Minus = %d", a);
a = 10;
printf("\nPost Increment = %d", a++);
a = 10;
printf("\nPre Increment = %d", ++a);
a = 10;
printf("\nPost Decrement = %d", a--);
a = 10;
printf("\nPre Decrement = %d", --a);
printf("\nNegation = %d", !b);
printf("\nsizeof(a) = %lu", sizeof(a));
return 0;
}