MIPI_BaseC_WebinarFRTK/03_Lecture03/18_output_p41.c

18 lines
253 B
C
Raw Permalink Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
int main(void)
{
int a=1, b=5, c=123;
printf ("%d\n", c);
//123
printf ("Result: %d\n", c);
//Result: 123
printf ("%d+%d=%d\n", a, b, c );
//1+5=123
printf ("%d+%d=%d\n", a, b, a+b );
//1+5=6
}