<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Computer Science &amp;amp; Technology</title><description>Useful study materials &amp;amp; notes for Diploma &amp;amp; Degree computer science student, BSC &amp;amp; MSC computer science student, BCA &amp;amp; MCA student, DOEACC O, A &amp;amp; B Level student.</description><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><pubDate>Fri, 6 Sep 2024 01:54:27 +0530</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">237</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://computertechscience.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>C,programming,language</itunes:keywords><itunes:summary>Study material for DOEACC ( O, A and B Level ), BSc and MSc computer science, Diploma and Degree computer science, BCA and MCA</itunes:summary><itunes:subtitle>Computer Science and Technology</itunes:subtitle><itunes:category text="Education"><itunes:category text="Higher Education"/></itunes:category><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:owner><itunes:email>rajagoswami2010@hotmail.com</itunes:email></itunes:owner><item><title>Pointer005</title><link>http://computertechscience.blogspot.com/2012/11/input-three-numbers-in-main-function.html</link><category>Pointer</category><pubDate>Sun, 4 Nov 2012 10:48:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-6805494857145530949</guid><description>
Input three numbers in main function calculate there sum &amp;amp; average in a user defined function and print the result in the main function.

#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;
void sumavg ( int&amp;nbsp;&amp;nbsp; n1, int&amp;nbsp;&amp;nbsp;&amp;nbsp; n2, int&amp;nbsp;&amp;nbsp;&amp;nbsp; n3, int*s, float*avg )
{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK2zT-fDIjH2wklNX4J_9OLd-GrD2af01Axx3X1PzSAYGcB5_OTNZpOAu8NnvD9uSJZQf-w2k8pOR_NeXPsEkjJUwZutJBCyvzYJ255RIXbzsL4Nb53pD_dXJJVkGDQeie6eMGnKEF1RYc/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Pointer004</title><link>http://computertechscience.blogspot.com/2012/11/pointer004.html</link><category>Pointer</category><pubDate>Sat, 3 Nov 2012 09:42:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-24553832148692692</guid><description>
Input some elements in an array and copy that array into another array using pointer.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void input ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; l ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisVeqgryt3lp-ABFSz3tDyA2Kx1-jnP9Qutut5yQ6DLj2RiJONMmP8vk1xwwj9ZtDX7uoYIi7C7a4pUkWyuT5LrK2YkSilpbNUX19v8d_jlpbY1pUC14joukkQLOZi0XQhWRbrzTSJMAPq/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Pointer003</title><link>http://computertechscience.blogspot.com/2012/10/pointer003.html</link><category>Pointer</category><pubDate>Wed, 31 Oct 2012 09:18:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-4247531992737021428</guid><description>
Input two numbers and swap them.

#include&amp;lt;stdio.h&amp;gt;#include&amp;lt;conio.h&amp;gt;void swap ( int*, int* );void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m, n;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr ( );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEFHmwh2umsaQxknrLnE_hOPQwLTvKoaD3PwPpBJFAYvhOPdFhSeNBr1FN3FVAYBKqDuNHy5imfqq-JPcgV434F4c0ggZo3ranFvCmFunoz6YDFFj-tw-JKddc_CEPpYrnGOreiCcLUaav/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Pointer002</title><link>http://computertechscience.blogspot.com/2012/10/pointer002.html</link><category>Pointer</category><pubDate>Tue, 30 Oct 2012 08:43:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-1661763779448310778</guid><description>
Input some numbers in an array. Print the array using pointer.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void print ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; l){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioksXKfU7UGvH84ai5bSCi5pMyIvgNgUTv32F33K-FpJTkRyq8eAHglT_hFrHW9EmtvWr8VHWzV92yF18zxp_M4BGl9aIW3sTZoCGg61kNqqzrYe6mhGQsCJN2W2lUM8wwYdwbPEAV6LLo/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Pointer001</title><link>http://computertechscience.blogspot.com/2012/10/pointer001.html</link><category>Pointer</category><pubDate>Mon, 29 Oct 2012 08:33:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-4747736767011040338</guid><description>
Concept of pointer.
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; n, *p;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p = &amp;amp;n;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; n = 5;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr ( );&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOn4x2iY8a61BEY1NDvvnM8t84HPRM29UVc4yTBttBC2BrsMgZMDMK80HaZGLdxK_bunJi4wOvPsXTulXuN4XZo4xoVH9Afx3BkIQiuX7fuJh5vZnvT6i0CP0YUfNsJXs7HVLx3LSFTZwO/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function041</title><link>http://computertechscience.blogspot.com/2012/10/function041.html</link><category>Function</category><pubDate>Thu, 25 Oct 2012 09:10:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-7136298493858123922</guid><description>
Write a function to accept two strings as arguments. The function should return the index of the second string in the first string, if it exists and -1 otherwise. Don't use any library routines related to strings.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; </description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG2b41u6IJjwyHyWSTSVOXy9RsaS2wnz2bfx63iPwGrGsiqN3rlrJSzFbbsAEtMAUcaRTIjcE_MAhTIuDbFUpwmzoZE6ceGn6yAeI0g1sydNXHK7nMfQPHaQ2J7dhgV-CBvX7EnOiThTkx/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function040</title><link>http://computertechscience.blogspot.com/2012/10/function040.html</link><category>Function</category><pubDate>Wed, 24 Oct 2012 09:02:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-6743260260272111612</guid><description>
Write a menu driven 'C' program , which prints the options 1,2,3 (as given below) and asks the user to select an option. If user options : &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; then find the factors of the entered number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2bfRJr3QfjrDSA2g5N2xODr3mNhuyAOwzCxnmMGIDkHInQbFSvSUA3A8PULH_j9YRJWdW_z2O8bwoyEDhqUhMFPuRviSohYd9mI96DW_AeGK6LQBodCvaHCtPvgwAWgvvzbTR1QNhOuuZ/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function039</title><link>http://computertechscience.blogspot.com/2012/10/function039.html</link><category>Function</category><pubDate>Tue, 23 Oct 2012 09:08:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-4887051338042522714</guid><description>
Write a C program that will enter a line of text, store in an array and then display backwards. The length of the line should be undefined, (being terminated by ENTER key), but less than 80 characters.&amp;nbsp;

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void backward ( char&amp;nbsp;&amp;nbsp;&amp;nbsp; str[] ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ5uBuegTCAAzInIiEN7hOeql6qruMWLdGP1juiuhwwEDEja00sxsiRSytXh5G5Kk2jF-UQ7kGhahr287J0B77-U_jOmmiYaLjSd5lL_dXGJAPH-fNa6sV7V7OGGMBnSnOZUJ5pXdIYXYK/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function038</title><link>http://computertechscience.blogspot.com/2012/10/function038.html</link><category>Function</category><pubDate>Mon, 22 Oct 2012 09:02:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-4600118940205418892</guid><description>
Write a C program to accept a date in the format DD / MM / YYYY and add an integer to get the resultant date. #include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;
int leap ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; yy ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( yy % 400 == 0 || ( yy % 100 != 0 &amp;amp;&amp;amp; yy % 4 == 0 ) )&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhfSVUqmtFMhABfpFsr4UXkTZ9V33Emeh7z1SrnIzhEP0AzxnUQne8tHAhz2t10qgFHXYKyFFyXO0RMIH3bqPVhLlV8J6EwfnMnYx0XaTv04yzV2hNi47Tb-FzfHEXvmkx_OGpQyuwE3t5/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function037</title><link>http://computertechscience.blogspot.com/2012/10/function037.html</link><category>Function</category><pubDate>Sun, 21 Oct 2012 08:58:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-8179700770767858131</guid><description>
The sequence of Fibonacci numbers is defined as below: f(i)=f(i-1)+f(i-2) with f(0)=1 and f(1)=1. Develop a C program to calculate and display Fibonacci numbers.&amp;nbsp;
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf_0-vNo0BCQNYmGRxZ-EeHv30NZATpOUPDA1wi-h1Sj6hhwjJhGl6I_dT_WZr8GXOQ_TnljNj4p6ur0MXh_n0VFlTScSfF0jtrsvWOP8IKB2tXpJe-K57LAep3vjv0Xzd3vXQNQIINKRa/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function036</title><link>http://computertechscience.blogspot.com/2012/10/function036.html</link><category>Function</category><pubDate>Sat, 20 Oct 2012 09:12:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-4407848576883048451</guid><description>
Write a 'C' function to arrange the elements of an integer array in such a way that all the negative elements are before the positive elements. The array is passed to it as an argument.
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void posneg (int&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; l );void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6PkUAkxdQlafpZU4ePm2bosBWEb1ACk0ahNCwKVIVXuTYbrJ3zZX9sHZXShyphenhyphenpQCAOH6qFANQQB-Key2XX96U4N0NkxBWLhLNJX1v7m6VudxleqqqePPfNxSvcYQqtk-CNyoxWJ43ha8h4/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function035</title><link>http://computertechscience.blogspot.com/2012/10/function035.html</link><category>Function</category><pubDate>Fri, 19 Oct 2012 10:09:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-7154669816584166957</guid><description>
Write a 'C' program to compute the following series: 1 - x + x ^ 2 / 2 - x ^ 3 / 6 + x ^ 4 / 24 + ..... + ( - 1 ) ^ nx ^ n / n ! where n and x is to be accepted by the user.
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;#include &amp;lt;math.h&amp;gt;float series ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; n, float&amp;nbsp;&amp;nbsp;&amp;nbsp; x ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEileP0C8Uuoce3C5N86crSSgDACyFht6THx8szxC3rybdZr5DqA2_6rR-LpBf7cnf36Cxq24lAViLeRPOyi0yKogjZZNPmaE41M9YXS3GOq_Iv6mqqNujGP4v8cL_9GaSbvs0Js_0C8L3hM/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function034</title><link>http://computertechscience.blogspot.com/2012/10/function034.html</link><category>Function</category><pubDate>Thu, 18 Oct 2012 09:45:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-2726379932613740630</guid><description>
Write a C program to calculate the frequencies of different alphabets, present in a given string. The string of alphabets is to be taken as input from the keyboard.
#include&amp;lt;stdio.h&amp;gt;#include&amp;lt;conio.h&amp;gt;int frequency ( char&amp;nbsp;&amp;nbsp;&amp;nbsp; str[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; j );void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7HJlIcZfPnsU34nA0vtoinqV-lFGRRfHmt23j2VbKYf-FA4y4sN52CRpFIqxFCWWNt8gi3ZC9PJLEy9NgcKqnygCjRrI3PD0O8evC95zHUmayDwoXjj9eFgiXrUBAXR3D5GtvyWNP_cqC/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function033</title><link>http://computertechscience.blogspot.com/2012/10/function033.html</link><category>Function</category><pubDate>Wed, 17 Oct 2012 09:21:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-7466495474198797340</guid><description>
Write a C function print_upper ( ) to prints its character argument in uppercase.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void print_upper ( char&amp;nbsp;&amp;nbsp;&amp;nbsp; str[] ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYwR9SVztNGivveGpXiuvN1ERvVim4gVJaLuzxvXdiqFrQCuuq3T8fOcuQVQgqi7E-U52evjRQIW1g_99m-HIqsO8yZ-gFWUzJ4qMUP0-Iyj3rivqScc4urglVgcdgYXacdekrLGx4Wiz9/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function032</title><link>http://computertechscience.blogspot.com/2012/10/function032.html</link><category>Function</category><pubDate>Wed, 17 Oct 2012 09:07:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-1055476406846823331</guid><description>
Write a C function wordcount ( ) to count the number of words in a given string and then call in main ( ).

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;int wordcount&amp;nbsp; (char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str[] ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i, w = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB-xHEeLs2B0aRg75whlERyUR2ohTS5qS2-D2qUCbwP0TXYA1NvYZEUm1KxHeaLb0DG7UqgbheLnKadWRVZO73A0JMwNkIxigxnTaFmbVphJRGw_BUm9WDQ9GOc9nMlrqVPCj7vhwK-Nbc/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function031</title><link>http://computertechscience.blogspot.com/2012/10/function031.html</link><category>Function</category><pubDate>Tue, 16 Oct 2012 19:44:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-3943512354436892262</guid><description>
Input some elements in increasing order and write a function to search an element using binary search method.#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[10], i,</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikyRjwnHIntUwzitF4ZFzuTVHNlsdJg24whzbf-3-yVzpi3AgK152bI5MFSoHYJL9Jzd91vTgIMPtpOc__AkBHl_WKI_keMLODWZCnbqY_Zck7f-7802zflzMpkllyCQ5FKIFGw4b9CdWx/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function030</title><link>http://computertechscience.blogspot.com/2012/10/function030.html</link><category>Function</category><pubDate>Mon, 15 Oct 2012 18:13:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-6526681508170553543</guid><description>
Write a program to find a^n, where a and n can be any positive integer.Define a recursive function power ( ) to perform the operation.&amp;nbsp;
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;int power ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; a, int&amp;nbsp;&amp;nbsp;&amp;nbsp; n );int power ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; a, int&amp;nbsp;&amp;nbsp;&amp;nbsp; n ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1mjb0ypV_rF7ugNLT-4MaRp1TvZiprAKRlWOw2b56lVDSN6XipGdMz9NpYUiCmQ-8YyQf6tU9Uu9fVSq8cKkRevW4gWJ3Xi4M9UoqiwO0kGtrR7ZT-ot_qRjd6oHJZ_zAtrsxj4mkhPch/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Case structure006</title><link>http://computertechscience.blogspot.com/2012/10/case-structure006.html</link><category>Switch Case</category><pubDate>Sun, 14 Oct 2012 22:43:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-5827888926945119376</guid><description>
Write a program to convert an input number in Binary, Octal and Hexadecimal number. The choice should be input by user.
#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no, cho, md[50], c, i;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizttm8fQrqVMFIiJfuZxzPghR742YCTPPKbeysH2rvcj707OquSbbXsal2e3S13a1MVK2TeOZ2LzS1lHcJR6Q4IkPtZFeK6IVz3wXsxDzYmkcwbzr31foY7EqnIi3uhYOryq_UygXl_yqg/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Array043</title><link>http://computertechscience.blogspot.com/2012/10/array043.html</link><category>array</category><pubDate>Sat, 13 Oct 2012 12:44:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-5019699420584853383</guid><description>
Write a 'C' program to find the minimum of the eight floating point numbers and its place in the array.

#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;
void main ( )
{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[8], min;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUxsCLVgMkbdxTajlTOaZDK33sMbRlJrislS4ZtW-pUL8C6TB1tmdptQosM945_ayuKHNXoRcfCFCiss1t3vDqqwOouPkK_M8uRUgQfXl5Z9fut5IH8dEDm1ODCl59N9I230ujGPFY96SW/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function029</title><link>http://computertechscience.blogspot.com/2012/10/function029.html</link><category>Function</category><pubDate>Sat, 13 Oct 2012 12:33:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-8752779688697309493</guid><description>
Develop a function to calculate sum of n even integers starting from a given even integer. 

#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;
void main ( )
{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s, n, t;
&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaa5gHLEl4AsQeG19ZKY0Nht804yWsHbgJAwm_HWeZQ5l9KdcC0M2mUgws8oiHMWa9I6v2F2kfD3hL5qKpPHwJbfX4iRh09lNPhPT6_TzKhigsTPXWjWDjNWLkr8iyGCQai5dVKOWJqQRi/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function028</title><link>http://computertechscience.blogspot.com/2012/10/function028.html</link><category>Function</category><pubDate>Sat, 13 Oct 2012 12:20:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-3982455596401516764</guid><description>
Write a program using function to read an array from the user and print the odd number at odd position and prints the even numbers at even positions. The number of odd numbers and even numbers should be equal.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void oddeven (int&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; l );void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0rDWU_TlA3KhgvTcdx-oaUV1ymEe-5vk-QHsX2HP0DNefa9h5MYW6rERuKOUukuV-nUgZAaHD99qr-XqROOuMu3EMlFIWF9W65MDP-ZQY47rH5boJ7S2IaTi9v0T6KleKMLVClGmlQCyv/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function027</title><link>http://computertechscience.blogspot.com/2012/10/function027.html</link><category>Function</category><pubDate>Fri, 12 Oct 2012 10:28:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-9197808910445527539</guid><description>
Write a function which accepts an integer array of size n and prints every third value of the array.&amp;nbsp;

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void print ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; arr[], int&amp;nbsp;&amp;nbsp;&amp;nbsp; n ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Onip_6CjTDh2kshiYKLKFG5nlXjK26Uvf5RbxLxSRiRXpQ4_cRJYvgplSa6WBhPCARglqKc7MR96znhSn92wWZ_QatMoYeWCrDSYTTvcrrIrR726aDR3wO3jkLiy8a_23JJayf1dO9XE/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function026</title><link>http://computertechscience.blogspot.com/2012/10/function026.html</link><category>Function</category><pubDate>Fri, 12 Oct 2012 09:53:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-6381644801994250163</guid><description>
Write a function that takes time in seconds as input and print it in terms of hour, minute and seconds. 

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void hrminsec ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; sec ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjECC1yulUqzyYdJvadYlkXklIWQjSrpxAkGzUkpA6RiVJScoxgzmUADT9Njm9cdB4F7PoLCSm93eql8W_5nsVERRivd3LMvYhD4CSsnBpWVU_y41eLRiIt8TRC1qv9mhpOnFT7eSF7KlP_/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>String032</title><link>http://computertechscience.blogspot.com/2012/10/string032.html</link><category>string</category><pubDate>Fri, 12 Oct 2012 09:09:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-8178072835969561421</guid><description>
Write a program which asks the user to enter the name and age of persons in his group. The number of persons is not known to the user in the beginning of the program. The user keeps on entering the data till the user enters the age as zero. The program finally prints the average age.

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHBQRdZb4ghmcizJLxIxkWC5CLRZI2n3n12SjXSXb2j7she4g632K9OIBXwXJ1xmz5mrTpADx96AFdEsTNrY8qE7eIbI9unsvtp7IIippWvJkuMFggao_kizkoSQeLxHOUeQLaK1wwHygw/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item><item><title>Function025</title><link>http://computertechscience.blogspot.com/2012/10/function025.html</link><category>Function</category><pubDate>Thu, 11 Oct 2012 10:00:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3763214004441310208.post-5181525487618293713</guid><description>
Write a function which accepts an array of size n containing integer values and returns the average of all values. Call the function from main program.&amp;nbsp;

#include &amp;lt;stdio.h&amp;gt;#include &amp;lt;conio.h&amp;gt;float arravg ( int&amp;nbsp;&amp;nbsp;&amp;nbsp; [], int );void main ( ){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZiRm1zJaeT4lYi-MDEcBm9O2fOtVDSpqzBfTq-RpTK8Qpy2oiR1YfyNhmEs57RJaVXGCTokdKgvdnuIPdhyphenhyphenGCbZTzh0ZMu-qSbEugtwkC6n3ykonahfizwpUpJGnedDkkRj4K3hLW8Ge/s72-c/untitled.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Kolkata, West Bengal, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">22.572646 88.363895</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.338053499999997 88.048038 22.8072385 88.679752</georss:box><author>rajagoswami2010@hotmail.com (Anonymous)</author></item></channel></rss>