<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; Sunil Gadhavi</title>
	<atom:link href="https://www.emblogic.com/blog/author/sunil-gadhavi30/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>&#8220;Multiple Data Compression&#8221;</title>
		<link>https://www.emblogic.com/blog/07/multiple-data-compression-5/</link>
		<comments>https://www.emblogic.com/blog/07/multiple-data-compression-5/#comments</comments>
		<pubDate>Sat, 19 Jul 2014 10:22:26 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=11170</guid>
		<description><![CDATA[1 2 RCS file: main.c,v 3 Working file: main.c 4 head: 1.10 5 branch: 6 locks: strict 7 root: 1.10 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 10;    selected revisions: 10 12 description: 13 &#8230; <a href="https://www.emblogic.com/blog/07/multiple-data-compression-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1<br />
2 RCS file: main.c,v<br />
3 Working file: main.c<br />
4 head: 1.10<br />
5 branch:<br />
6 locks: strict<br />
7 root: 1.10<br />
8 access list:<br />
9 symbolic names:<br />
10 keyword substitution: kv<br />
11 total revisions: 10;    selected revisions: 10<br />
12 description:<br />
13 created master array which contains distinct characters of file which is opened<br />
14 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
15 revision 1.10   locked by: root;<br />
16 date: 2014/07/19 18:57:45;  author: root;  state: Exp;  lines: +1 -1<br />
17 *** empty log message ***<br />
18 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
19 revision 1.9<br />
20 date: 2014/07/19 18:50:38;  author: root;  state: Exp;  lines: +1 -3<br />
21 called compres() function<br />
22 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
23 revision 1.8<br />
24 date: 2014/07/19 17:31:05;  author: root;  state: Exp;  lines: +3 -3<br />
25 called function cod_len()<br />
26 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
27 revision 1.7<br />
28 date: 2014/07/19 17:17:13;  author: root;  state: Exp;  lines: +1 -1<br />
29 *** empty log message ***<br />
30 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
31 revision 1.6<br />
32 date: 2014/07/19 17:10:50;  author: root;  state: Exp;  lines: +1 -1<br />
33 *** empty log message ***<br />
34 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
35 revision 1.5<br />
36 date: 2014/07/19 17:04:41;  author: root;  state: Exp;  lines: +4 -1<br />
37 called my_strlen()<br />
38 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
39 revision 1.4<br />
40 date: 2014/07/19 15:01:32;  author: root;  state: Exp;  lines: +0 -64<br />
41 removed function definations<br />
42 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
43 revision 1.3<br />
44 date: 2014/07/18 16:15:11;  author: root;  state: Exp;  lines: +4 -1<br />
45 *** empty log message ***<br />
46 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
47 revision 1.2<br />
48 date: 2014/07/18 16:09:59;  author: root;  state: Exp;  lines: +1 -1<br />
49 *** empty log message ***<br />
50 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
51 revision 1.1<br />
52 date: 2014/07/18 15:55:50;  author: root;  state: Exp;<br />
53 Initial revision<br />
54 =============================================================================<br />
55<br />
56 RCS file: func.c,v<br />
57 Working file: func.c<br />
58 head: 1.14<br />
59 branch:<br />
60 locks: strict<br />
61 root: 1.14<br />
62 access list:<br />
63 symbolic names:<br />
64 keyword substitution: kv<br />
65 total revisions: 14;    selected revisions: 14<br />
66 description:<br />
67 added functions which are in main fill till last revision<br />
68 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
69 revision 1.14   locked by: root;<br />
70 date: 2014/07/19 19:17:50;  author: root;  state: Exp;  lines: +1 -1<br />
71 *** empty log message ***<br />
72 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
73 revision 1.13<br />
74 date: 2014/07/19 19:16:22;  author: root;  state: Exp;  lines: +1 -1<br />
75 *** empty log message ***<br />
76 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
77 revision 1.12<br />
78 date: 2014/07/19 19:13:09;  author: root;  state: Exp;  lines: +1 -1<br />
79 *** empty log message ***<br />
80 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
81 revision 1.11<br />
82 date: 2014/07/19 19:03:18;  author: root;  state: Exp;  lines: +1 -1<br />
83 *** empty log message ***<br />
84 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
85 revision 1.10<br />
86 date: 2014/07/19 19:01:38;  author: root;  state: Exp;  lines: +1 -1<br />
87 *** empty log message ***<br />
88 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
89 revision 1.9<br />
90 date: 2014/07/19 19:00:27;  author: root;  state: Exp;  lines: +1 -1<br />
91 *** empty log message ***<br />
92 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
93 revision 1.8<br />
94 date: 2014/07/19 18:57:44;  author: root;  state: Exp;  lines: +2 -2<br />
95 *** empty log message ***<br />
96 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
97 revision 1.7<br />
98 date: 2014/07/19 18:49:55;  author: root;  state: Exp;  lines: +46 -2<br />
99 partially defined compres() &amp; find_loc() functions<br />
100 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
101 revision 1.6<br />
102 date: 2014/07/19 17:32:48;  author: root;  state: Exp;  lines: +2 -1<br />
103 *** empty log message ***<br />
104 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
105 revision 1.5<br />
106 date: 2014/07/19 17:30:45;  author: root;  state: Exp;  lines: +22 -2<br />
107 defined function code_len()<br />
108 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
109 revision 1.4<br />
110 date: 2014/07/19 17:05:52;  author: root;  state: Exp;  lines: +1 -1<br />
111 declared variable i<br />
112 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
113 revision 1.3<br />
114 date: 2014/07/19 17:04:14;  author: root;  state: Exp;  lines: +19 -0<br />
115 added defination of function my_strlen()<br />
116 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
117 revision 1.2<br />
118 date: 2014/07/19 15:11:14;  author: root;  state: Exp;  lines: +1 -0<br />
119 added header file<br />
120 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
121 revision 1.1<br />
122 date: 2014/07/19 15:00:44;  author: root;  state: Exp;<br />
123 Initial revision<br />
124 ============================================================================    =<br />
125<br />
126 RCS file: header.h,v<br />
127 Working file: header.h<br />
128 head: 1.12<br />
129 branch:<br />
130 locks: strict<br />
131     root: 1.12<br />
132 access list:<br />
133 symbolic names:<br />
134 keyword substitution: kv<br />
135 total revisions: 12;    selected revisions: 12<br />
136 description:<br />
137 included nessary header files<br />
138 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
139 revision 1.12   locked by: root;<br />
140 date: 2014/07/19 18:57:41;  author: root;  state: Exp;  lines: +1 -1<br />
141 *** empty log message ***<br />
142 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
143 revision 1.11<br />
144 date: 2014/07/19 18:54:10;  author: root;  state: Exp;  lines: +1 -0<br />
145 *** empty log message ***<br />
146 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
147 revision 1.10<br />
148 date: 2014/07/19 18:49:15;  author: root;  state: Exp;  lines: +1 -0<br />
149 declared compres function<br />
150 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
151 revision 1.9<br />
152 date: 2014/07/19 17:30:20;  author: root;  state: Exp;  lines: +1 -0<br />
153 added declaration for cod_len()<br />
154 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
155 revision 1.8<br />
156 date: 2014/07/19 17:10:30;  author: root;  state: Exp;  lines: +1 -0<br />
157 added math.h library<br />
158 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
159 revision 1.7<br />
160 date: 2014/07/19 17:03:38;  author: root;  state: Exp;  lines: +1 -0<br />
161 declared function my_strlen<br />
162 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
163 revision 1.6<br />
164 date: 2014/07/19 15:34:51;  author: root;  state: Exp;  lines: +1 -1<br />
165 *** empty log message ***<br />
166 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
167 revision 1.5<br />
168 date: 2014/07/19 15:14:44;  author: root;  state: Exp;  lines: +1 -1<br />
169 *** empty log message ***<br />
170 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
171 revision 1.4<br />
172 date: 2014/07/19 15:04:25;  author: root;  state: Exp;  lines: +1 -1<br />
173 *** empty log message ***<br />
174 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
175 revision 1.3<br />
176 date: 2014/07/19 15:00:21;  author: root;  state: Exp;  lines: +3 -0<br />
177 added declaration of functions<br />
178 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
179 revision 1.2<br />
180 date: 2014/07/18 15:58:46;  author: root;  state: Exp;  lines: +0 -4<br />
181 removed defination of haeder<br />
182 #ifndef_HEADER_H<br />
183 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
184 revision 1.1<br />
185 date: 2014/07/18 15:55:25;  author: root;  state: Exp;<br />
186 Initial revision<br />
187 ============================================================================    =</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/multiple-data-compression-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>creating master-array(in which all the distinct character of file given by user are stored) for project&#8211;&#8221;Multiple Data Compression &amp; Encryption&#8221;&#8230;&#8230;&#8230;..</title>
		<link>https://www.emblogic.com/blog/07/creating-master-arrayin-which-all-the-distinct-character-of-file-given-by-user-are-stored-for-project-multiple-data-compression-encryption/</link>
		<comments>https://www.emblogic.com/blog/07/creating-master-arrayin-which-all-the-distinct-character-of-file-given-by-user-are-stored-for-project-multiple-data-compression-encryption/#comments</comments>
		<pubDate>Fri, 18 Jul 2014 06:52:51 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=11101</guid>
		<description><![CDATA[RCS file: main.c,v Working file: main.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: created master array which contains distinct characters of file which is opened &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8230; <a href="https://www.emblogic.com/blog/07/creating-master-arrayin-which-all-the-distinct-character-of-file-given-by-user-are-stored-for-project-multiple-data-compression-encryption/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: main.c,v<br />
Working file: main.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
created master array which contains distinct characters of file which is opened<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3    locked by: root;<br />
date: 2014/07/18 16:15:11;  author: root;  state: Exp;  lines: +4 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/07/18 16:09:59;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/07/18 15:55:50;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/creating-master-arrayin-which-all-the-distinct-character-of-file-given-by-user-are-stored-for-project-multiple-data-compression-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opening a file, used some tools like rcs&#8230;.</title>
		<link>https://www.emblogic.com/blog/07/opening-a-file-used-some-tools-like-rcs/</link>
		<comments>https://www.emblogic.com/blog/07/opening-a-file-used-some-tools-like-rcs/#comments</comments>
		<pubDate>Thu, 17 Jul 2014 09:33:32 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=11086</guid>
		<description><![CDATA[RCS file: mdc.c,v Working file: mdc.c head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: Started the project &#8220;muldiple data compression &#38; encryption. Read file with open command. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision &#8230; <a href="https://www.emblogic.com/blog/07/opening-a-file-used-some-tools-like-rcs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: mdc.c,v<br />
Working file: mdc.c<br />
head: 1.6<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 6;    selected revisions: 6<br />
description:<br />
Started the project &#8220;muldiple data compression &amp; encryption.<br />
Read file with open command.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/07/17 09:17:51;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/07/17 09:17:28;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/07/17 09:12:44;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/07/17 09:11:07;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/07/17 09:04:33;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/07/17 09:01:15;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/opening-a-file-used-some-tools-like-rcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using selection sort, making array elements in accending order which are given by user&#8230;&#8230;&#8230;.</title>
		<link>https://www.emblogic.com/blog/07/using-selection-sort-making-array-elements-in-accending-order-which-are-given-by-user/</link>
		<comments>https://www.emblogic.com/blog/07/using-selection-sort-making-array-elements-in-accending-order-which-are-given-by-user/#comments</comments>
		<pubDate>Sun, 13 Jul 2014 05:18:13 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10948</guid>
		<description><![CDATA[1#include&#60;stdio.h&#62; 2 #include&#60;stdlib.h&#62; 3 4 int main() 5 { 6     int *a,i=0,j=0,k,l,m,b,least; 7         a=(int *)malloc(sizeof(int)); 8 9     while(1) 10     { 11 12         printf(&#8220;\n\nenter the elements in an array, remember at &#8217;0&#8242; insertion of elements in    array will be terminated     : &#8230; <a href="https://www.emblogic.com/blog/07/using-selection-sort-making-array-elements-in-accending-order-which-are-given-by-user/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1#include&lt;stdio.h&gt;<br />
2 #include&lt;stdlib.h&gt;<br />
3<br />
4 int main()<br />
5 {<br />
6     int *a,i=0,j=0,k,l,m,b,least;<br />
7         a=(int *)malloc(sizeof(int));<br />
8<br />
9     while(1)<br />
10     {<br />
11<br />
12         printf(&#8220;\n\nenter the elements in an array, remember at &#8217;0&#8242; insertion of elements in    array will be terminated     : \n&#8221;);<br />
13<br />
14      while(1)<br />
15       {<br />
16         scanf(&#8220;%d&#8221;,a+j);<br />
17         if(a[j]==0)<br />
18         break;<br />
19         a=realloc(a,i+2*sizeof(int));<br />
20         i=i+sizeof(int);<br />
21         j++;<br />
22       }<br />
23<br />
24<br />
25         for(k=0;k&lt;=j;k++)<br />
26         {<br />
27             for(l=k;l&lt;=j;l++)<br />
28             {<br />
29                 least=a[k];<br />
30<br />
31                 if(least&gt;a[l])<br />
32                 {<br />
33                   b=a[l];<br />
34                   m=least;<br />
35                   a[k]=b;<br />
36                   a[l]=m;<br />
37<br />
38                  }<br />
39             }<br />
40         }<br />
41<br />
42<br />
43               printf(&#8220;\n\nthe array in accending order is : \n&#8221;);<br />
44<br />
45                 for(k=0;k&lt;=j;k++)<br />
46                     printf(&#8220;%d\n&#8221;,a[k]);<br />
47<br />
48   }<br />
49   return 0;<br />
50 }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/using-selection-sort-making-array-elements-in-accending-order-which-are-given-by-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>comparing strings which are given by the user &amp; displaying the result on the screen&#8230;..</title>
		<link>https://www.emblogic.com/blog/07/comparing-strings-which-are-given-by-the-user-displaying-the-result-on-the-screen/</link>
		<comments>https://www.emblogic.com/blog/07/comparing-strings-which-are-given-by-the-user-displaying-the-result-on-the-screen/#comments</comments>
		<pubDate>Fri, 11 Jul 2014 07:55:49 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10895</guid>
		<description><![CDATA[1 #include&#60;stdio.h&#62; 2 #include&#60;string.h&#62; 3 4 int main() 5 { 6   int n1,n2,i; 7 8         printf(&#8220;\n\nfirst enter the number of max. words u will enter in each strings  &#8220;); 9         printf(&#8220;\n\nin first string words u will use are : &#8220;); &#8230; <a href="https://www.emblogic.com/blog/07/comparing-strings-which-are-given-by-the-user-displaying-the-result-on-the-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1 #include&lt;stdio.h&gt;<br />
2 #include&lt;string.h&gt;<br />
3<br />
4 int main()<br />
5 {<br />
6   int n1,n2,i;<br />
7<br />
8         printf(&#8220;\n\nfirst enter the number of max. words u will enter in each strings  &#8220;);<br />
9         printf(&#8220;\n\nin first string words u will use are : &#8220;);<br />
10         scanf(&#8220;%d&#8221;,&amp;n1);<br />
11         printf(&#8220;\n\nin second string words u will use are : &#8220;);<br />
12         scanf(&#8220;%d&#8221;,&amp;n2);<br />
13<br />
14   char s1[n1],s2[n2];<br />
15<br />
16         printf(&#8220;\n\nnow enter first string :  &#8220;);<br />
17         scanf(&#8220;%s&#8221;,&amp;s1);<br />
18         printf(&#8220;\n\nnow enter second string :  &#8220;);<br />
19         scanf(&#8220;%s&#8221;,&amp;s2);<br />
20<br />
21         if(n1&gt;n2)<br />
22         {<br />
23                 for(i=0;i&lt;n1;i++)<br />
24                 {<br />
25                         if(s1[i]&gt;s2[i])<br />
26                         {<br />
27                                 printf(&#8220;\n\nthe first string is greater than second\n\n&#8221;);<br />
28                                 goto x;<br />
29                         }<br />
30<br />
31                         else if(s1[i]&lt;s2[i])<br />
32                         {<br />
33                                 printf(&#8220;\n\nthe first string is less                        than second\n\n&#8221;);<br />
34                                 goto x;<br />
35                         }<br />
36                 }<br />
37         }<br />
38<br />
39<br />
40<br />
41         else if(n1&lt;n2)<br />
42         {<br />
43                 for(i=0;i&lt;n2;i++)<br />
44                 {<br />
45                         if(s1[i]&gt;s2[i])<br />
46                         {<br />
47                                 printf(&#8220;\n\nthe first string is greater than second\n\n&#8221;);<br />
48                                 goto x;<br />
49                         }<br />
50<br />
51                         else if(s1[i]&lt;s2[i])<br />
52                         {<br />
53                                 printf(&#8220;\n\nthe first string is less than second\n\n&#8221;);<br />
54                                 goto x;<br />
55                         }<br />
56                 }<br />
57         }<br />
58<br />
59<br />
60<br />
61         else if(n1==n2)<br />
62         {<br />
63                 for(i=0;i&lt;n2;i++)<br />
64                 {<br />
65                         if(s1[i]&gt;s2[i])<br />
66                         {<br />
67                                 printf(&#8220;\n\nthe first string is greater than second\n\n&#8221;);<br />
68                                 goto x;<br />
69                         }<br />
70<br />
71                         else if(s1[i]&lt;s2[i])                                 72                         {<br />
73                                 printf(&#8220;\n\nthe first string is less than second\n\n&#8221;);<br />
74                                 goto x;<br />
75                         }<br />
76                 }<br />
77         }<br />
78<br />
79<br />
80 x:return 0;<br />
81 }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/comparing-strings-which-are-given-by-the-user-displaying-the-result-on-the-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a prog. to insert some more elements in an array&#8230;</title>
		<link>https://www.emblogic.com/blog/07/a-prog-to-insert-some-more-elements-in-an-array/</link>
		<comments>https://www.emblogic.com/blog/07/a-prog-to-insert-some-more-elements-in-an-array/#comments</comments>
		<pubDate>Mon, 07 Jul 2014 07:06:14 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10841</guid>
		<description><![CDATA[1 #include&#60;stdio.h&#62; 2 void main() 3 { 4                 int i,j,n,n1,n2; 5 6 7         printf(&#8220;\n\nenter the number of values u will enter : &#8220;); 8 9 scanf(&#8220;%d&#8221;,&#38;n1); 10 11                int a[n1]; 12 13         printf(&#8220;\nnow enter values of elements : \n&#8221;); 14 &#8230; <a href="https://www.emblogic.com/blog/07/a-prog-to-insert-some-more-elements-in-an-array/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1 #include&lt;stdio.h&gt;<br />
2 void main()<br />
3 {<br />
4                 int i,j,n,n1,n2;<br />
5<br />
6<br />
7         printf(&#8220;\n\nenter the number of values u will enter : &#8220;);<br />
8<br />
9 scanf(&#8220;%d&#8221;,&amp;n1);<br />
10<br />
11                int a[n1];<br />
12<br />
13         printf(&#8220;\nnow enter values of elements : \n&#8221;);<br />
14<br />
15<br />
16                         for(i=0;i&lt;n1;i++)<br />
17                         {<br />
18                                 scanf(&#8220;%d&#8221;,&amp;a[i]);<br />
19                         }<br />
20<br />
21         printf(&#8220;\nnow enter the number of value u want to insert in an array :&#8221;);<br />
22<br />
23 scanf(&#8220;%d&#8221;,&amp;n2);<br />
24<br />
25                 int b[n2];<br />
26<br />
27<br />
28         printf(&#8220;\nnow enter the elements u want to insert in an array : \n&#8221;);<br />
29<br />
30<br />
31                         for(i=0;i&lt;n2;i++)<br />
32                         {<br />
33                                 scanf(&#8220;%d&#8221;,&amp;b[i]);<br />
34                         }<br />
35<br />
36<br />
37<br />
38                         n=n1+n2;<br />
39<br />
40                           int c[n];<br />
41<br />
42<br />
43                                 for(i=0;i&lt;n1;i++)<br />
44                                 {<br />
45                                         c[i]=a[i];<br />
46                                 }<br />
47<br />
48<br />
49<br />
50<br />
51<br />
52                                                 for(j=n-1;j&gt;1;j&#8211;)<br />
53                                                 {<br />
54                                                         c[j]=c[j-n2];<br />
55<br />
56                                                 }<br />
57<br />
58<br />
59<br />
60         for(i=0;i&lt;n2;i++)<br />
61         {<br />
62                 c[i]=b[i];<br />
63         }<br />
64<br />
65                                 printf(&#8220;\nnow the array is : \n&#8221;);<br />
66<br />
67<br />
68                 for(i=0;i&lt;n;i++)<br />
69                 {<br />
70                         printf(&#8220;%d\n&#8221;,c[i]);<br />
71                 }<br />
72<br />
73<br />
74 }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/a-prog-to-insert-some-more-elements-in-an-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using bubble sorting a prog to make elements in accending order&#8230;.</title>
		<link>https://www.emblogic.com/blog/07/using-bubble-sorting-a-prog-to-make-elements-in-accending-order/</link>
		<comments>https://www.emblogic.com/blog/07/using-bubble-sorting-a-prog-to-make-elements-in-accending-order/#comments</comments>
		<pubDate>Mon, 07 Jul 2014 04:30:48 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10836</guid>
		<description><![CDATA[#include&#60;stdio.h&#62; int main() { int i,j,b,k,n,l; printf(&#8220;\n\nenter the number of values u will enter : &#8220;); scanf(&#8220;%d&#8221;,&#38;n); int a[n]; printf(&#8220;\nnow enter the elements : \n&#8221;); for(l=0;l&#60;n;l++) { scanf(&#8220;%d&#8221;,&#38;a[l]); } for(i=0;i&#60;n;i++) { for(j=0;j&#60;n-1;j++) { if(a[j]&#62;a[j+1]) { b=a[j]; a[j]=a[j+1]; a[j+1]=b; } } &#8230; <a href="https://www.emblogic.com/blog/07/using-bubble-sorting-a-prog-to-make-elements-in-accending-order/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>#include&lt;stdio.h&gt;<br />
int main()<br />
{<br />
int i,j,b,k,n,l;</p>
<p>printf(&#8220;\n\nenter the number of values u will enter : &#8220;);<br />
scanf(&#8220;%d&#8221;,&amp;n);</p>
<p>int a[n];</p>
<p>printf(&#8220;\nnow enter the elements : \n&#8221;);</p>
<p>for(l=0;l&lt;n;l++)<br />
{<br />
scanf(&#8220;%d&#8221;,&amp;a[l]);<br />
}<br />
for(i=0;i&lt;n;i++)<br />
{<br />
for(j=0;j&lt;n-1;j++)<br />
{<br />
if(a[j]&gt;a[j+1])<br />
{<br />
b=a[j];<br />
a[j]=a[j+1];<br />
a[j+1]=b;<br />
}<br />
}<br />
}<br />
for(k=0;k&lt;n;k++)<br />
{<br />
printf(&#8220;\n%d&#8221;,a[k]);<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/using-bubble-sorting-a-prog-to-make-elements-in-accending-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP,TFTP &amp; NFS server configuration..</title>
		<link>https://www.emblogic.com/blog/07/ftptftp-nfs-server-configuration/</link>
		<comments>https://www.emblogic.com/blog/07/ftptftp-nfs-server-configuration/#comments</comments>
		<pubDate>Sat, 05 Jul 2014 09:40:43 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10805</guid>
		<description><![CDATA[today i configured FTP,TFTP &#38; NFS servers&#8230;&#8230;]]></description>
				<content:encoded><![CDATA[<p>today i configured FTP,TFTP &amp; NFS servers&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/ftptftp-nfs-server-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple &#8216;calculator&#8217; using do-while&#8230;</title>
		<link>https://www.emblogic.com/blog/07/simple-calculator-using-do-while/</link>
		<comments>https://www.emblogic.com/blog/07/simple-calculator-using-do-while/#comments</comments>
		<pubDate>Fri, 04 Jul 2014 07:11:44 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10765</guid>
		<description><![CDATA[1#include&#60;stdio.h&#62; 2 #include&#60;math.h&#62; 3 int main() 4 { int a,b,i; 5   printf(&#8220;\n\nenter two no.s : &#8220;); 6   scanf(&#8220;%d %d&#8221;,&#38;a,&#38;b); 7         do 8         { 9           printf(&#8220;\nenter 1 for &#8216;+&#8217; : &#8220;); 10           printf(&#8220;\nenter 2 for &#8216;-&#8217; : &#8220;); 11           printf(&#8220;\nenter 3 &#8230; <a href="https://www.emblogic.com/blog/07/simple-calculator-using-do-while/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1#include&lt;stdio.h&gt;<br />
2 #include&lt;math.h&gt;<br />
3 int main()<br />
4 { int a,b,i;<br />
5   printf(&#8220;\n\nenter two no.s : &#8220;);<br />
6   scanf(&#8220;%d %d&#8221;,&amp;a,&amp;b);<br />
7         do<br />
8         {<br />
9           printf(&#8220;\nenter 1 for &#8216;+&#8217; : &#8220;);<br />
10           printf(&#8220;\nenter 2 for &#8216;-&#8217; : &#8220;);<br />
11           printf(&#8220;\nenter 3 for &#8216;*&#8217; : &#8220;);<br />
12           printf(&#8220;\nenter 4 for &#8216;/&#8217; : \n&#8221;);<br />
13<br />
14           scanf(&#8220;%d&#8221;,&amp;i);<br />
15<br />
16              switch(i)<br />
17              {<br />
18                      case 1: printf(&#8220;\nthe ans. is : %d\n&#8221;,a+b);<br />
19                         break;<br />
20                      case 2: printf(&#8220;\nthe ans. is :%d\n&#8221;,a-b);<br />
21                         break;<br />
22                      case 3: printf(&#8220;\nthe ans. is :%d\n&#8221;,a*b);<br />
23                         break;<br />
24                         case 4: printf(&#8220;\nthe ans. is :%d\n&#8221;,a/b);<br />
25                         break;<br />
26                 default:printf(&#8220;\nenter valid option\n&#8221;);<br />
27              }<br />
28<br />
29<br />
30         }<br />
31<br />
32         while(i!=0);<br />
33 }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/simple-calculator-using-do-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a prog. to find out Largest &amp; smallest no. from given five no.s&#8230;&#8230;&#8230;..</title>
		<link>https://www.emblogic.com/blog/07/a-prog-to-find-out-largest-smallest-no-from-given-five-no-s/</link>
		<comments>https://www.emblogic.com/blog/07/a-prog-to-find-out-largest-smallest-no-from-given-five-no-s/#comments</comments>
		<pubDate>Tue, 01 Jul 2014 10:14:19 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10738</guid>
		<description><![CDATA[1#include&#60;stdio.h&#62; 2 int main() 3 { 4 int x[5],l,s,i,j,k,z=0; 5 while(z&#60;3) 6 { 7 printf(&#8220;\nenter any five numbers : &#8220;); 8 for(i=0;i&#60;5;i++) 9 { 10         scanf(&#8220;%d&#8221;,&#38;x[i]); 11 } 12 l=x[0]; 13 s=x[4]; 14 for(j=1;j&#60;5;j++) 15 { 16  if(l&#60;x[j]) 17  {  &#8230; <a href="https://www.emblogic.com/blog/07/a-prog-to-find-out-largest-smallest-no-from-given-five-no-s/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1#include&lt;stdio.h&gt;<br />
2 int main()<br />
3 {<br />
4 int x[5],l,s,i,j,k,z=0;<br />
5 while(z&lt;3)<br />
6 {<br />
7 printf(&#8220;\nenter any five numbers : &#8220;);<br />
8 for(i=0;i&lt;5;i++)<br />
9 {<br />
10         scanf(&#8220;%d&#8221;,&amp;x[i]);<br />
11 }<br />
12 l=x[0];<br />
13 s=x[4];<br />
14 for(j=1;j&lt;5;j++)<br />
15 {<br />
16  if(l&lt;x[j])<br />
17  {  l=x[j]; }<br />
18 }<br />
19 printf(&#8220;largest no. is : %d &#8220;,l);<br />
20 for(k=0;k&lt;4;k++)<br />
21 {<br />
22 if(s&gt;x[k])<br />
23 {<br />
24 s=x[k];<br />
25 }<br />
26 }<br />
27 printf(&#8220;smallest no. is : %d&#8221;,s);<br />
28 z++;<br />
29 } }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/a-prog-to-find-out-largest-smallest-no-from-given-five-no-s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a simple program to add &#8216;n&#8217; numbers&#8230;</title>
		<link>https://www.emblogic.com/blog/06/a-simple-program-to-add-n-numbers/</link>
		<comments>https://www.emblogic.com/blog/06/a-simple-program-to-add-n-numbers/#comments</comments>
		<pubDate>Mon, 30 Jun 2014 09:09:15 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10730</guid>
		<description><![CDATA[1 #include&#60;stdio.h&#62; 2 int main() 3 { 4  int num[100],sum=0,n,i,ret; 5  printf(&#8220;enter the number of values u want 2 add\n&#8221;); 6  scanf(&#8220;%d&#8221;,&#38;n); 7  printf(&#8220;enter the values\n&#8221;); 8  for(i=0;i&#60;n;i++) 9   { 0   scanf(&#8220;%d&#8221;,&#38;num[i]); 1   sum=sum+num[i]; 2   } 3   printf(&#8220;sum=%d\n&#8221;,sum); 4   ret &#8230; <a href="https://www.emblogic.com/blog/06/a-simple-program-to-add-n-numbers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1 #include&lt;stdio.h&gt;<br />
2 int main()<br />
3 {<br />
4  int num[100],sum=0,n,i,ret;<br />
5  printf(&#8220;enter the number of values u want 2 add\n&#8221;);<br />
6  scanf(&#8220;%d&#8221;,&amp;n);<br />
7  printf(&#8220;enter the values\n&#8221;);<br />
8  for(i=0;i&lt;n;i++)<br />
9   {<br />
0   scanf(&#8220;%d&#8221;,&amp;num[i]);<br />
1   sum=sum+num[i];<br />
2   }<br />
3   printf(&#8220;sum=%d\n&#8221;,sum);<br />
4   ret = printf(&#8220;sum=%d\n&#8221;,sum);<br />
5   printf(&#8220;ret=%d\n&#8221;,ret);<br />
6   return 0;<br />
7<br />
8  }</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/a-simple-program-to-add-n-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP server configuration</title>
		<link>https://www.emblogic.com/blog/06/ftp-server-configuration/</link>
		<comments>https://www.emblogic.com/blog/06/ftp-server-configuration/#comments</comments>
		<pubDate>Sun, 29 Jun 2014 05:44:27 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10708</guid>
		<description><![CDATA[day before yesterday i&#8217;ve learnt how to configure FTP server, &#38; also added one group with some users in that server whose directory is in / &#38; changed the ownership &#38; permission given to group users using chmod command&#8230;&#8230;&#8230;&#8230;.]]></description>
				<content:encoded><![CDATA[<p>day before yesterday i&#8217;ve learnt how to configure FTP server, &amp; also added one group with some users in that server whose directory is in / &amp; changed the ownership &amp; permission given to group users using chmod command&#8230;&#8230;&#8230;&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/ftp-server-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>system administration</title>
		<link>https://www.emblogic.com/blog/06/system-administration/</link>
		<comments>https://www.emblogic.com/blog/06/system-administration/#comments</comments>
		<pubDate>Thu, 26 Jun 2014 07:00:38 +0000</pubDate>
		<dc:creator><![CDATA[Sunil Gadhavi]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10646</guid>
		<description><![CDATA[i&#8217;ve learnt today to create user with command-useradd, also difined user&#8217;s directory &#38; shell,  using chown i&#8217;ve changed the user &#38; group owner of the file &#38; directory,  i also learnt the use of chmod,ll,userdel,passwd,ap,grep by practising them&#8230;&#8230;]]></description>
				<content:encoded><![CDATA[<p>i&#8217;ve learnt today to create user with command-useradd, also difined user&#8217;s directory &amp; shell,  using chown i&#8217;ve changed the user &amp; group owner of the file &amp; directory,  i also learnt the use of chmod,ll,userdel,passwd,ap,grep by practising them&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/system-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
