Embedded world

Embedded,C Programming,C,Linux

Thursday, February 8, 2018

testing syntax

<pre style='color:#d1d1d1;background:#000000;'>#include &lt;stdio.h>
int main()
<span style='color:#b060b0; '>{</span>
printf<span style='color:#d2cd86; '>(</span><span style='color:#00c4c4; '>"hello world"</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
<span style='color:#b060b0; '>}</span>
</pre>
#include <stdio.h>
int main()
{
printf("hello world");
}

Sunday, February 4, 2018

Writting a C program in Linux

Hi, Today i am going to tell about how to write a C program in Linux and complile and run.

1.Just open Terminal in ubuntu

Saturday, February 3, 2018

Looping in C

For Loop Example



Pre-Increment and Post Incremet in C


To understand pre increment and post increment.We consider there concept Suppose we initialize a variable whose value is initialized with x=5.So what will be affect if we consider x++,and ++x? 





Finding COM PORT in ubuntu

 Hello ,In this post we see how to find COM port/Serial port in Ubuntu. Items Required 1.Usb to TTL cable  Step 1: Finding COM Port in Compu...