// API callback
relpostimgcuplik({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-8285804830535272268"},"updated":{"$t":"2023-07-30T02:11:08.392-07:00"},"category":[{"term":"C Programs"},{"term":"Learn C"},{"term":"Common Programming Error"},{"term":"searching and sorting"},{"term":"control sturctures"},{"term":"Fundamental"},{"term":"List of C Programs"},{"term":"string"},{"term":"Array"},{"term":"Pattern"},{"term":"Contents"},{"term":"Pointers"},{"term":"functions"},{"term":"Dynamic memory allcation"},{"term":"recursion"},{"term":"C Turbo Compiler"},{"term":"File Handling"},{"term":"Structures"}],"title":{"type":"text","$t":"C Programming Tutorial"},"subtitle":{"type":"html","$t":"It is a blog about c programming. Here we provide c programs and tutorials to enhance your skills."},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https:\/\/www.comp-psyche.com\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/-\/Contents?alt=json-in-script\u0026max-results=50"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.comp-psyche.com\/search\/label\/Contents"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"}],"author":[{"name":{"$t":"Mantu Kumar"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02897308282659594376"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"3"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"50"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-8285804830535272268.post-1990926055671286710"},"published":{"$t":"2014-07-11T01:39:00.000-07:00"},"updated":{"$t":"2015-02-14T04:54:38.531-08:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Contents"}],"title":{"type":"text","$t":"C Programming In Linux"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cspan style=\"color: lime;\"\u003EC Programming in Linux :\u003C\/span\u003E In this tutorial we are going to study how to write, compile and run c program in Linux. Linux \u003Cspan style=\"color: lime;\"\u003EWall command\u003C\/span\u003E and \u003Cspan style=\"color: lime;\"\u003Emake command\u003C\/span\u003E\u0026nbsp; is also explained.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\" name=\"C Programming In Linux\"\u003EContents\u003C\/a\u003E\u003C\/h2\u003E\n\u003Cdiv\u003E\n\u003Cul style=\"text-align: left;\"\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Write%20C%20Program%20In%20Linux\" itemprop=\"url\"\u003EWriting C Program In Linux\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Compile%20C%20Program%20In%20Linux\" itemprop=\"url\"\u003ECompiling C Program In Linux\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#Linux%20Make%20Command\" itemprop=\"url\"\u003ELinux Make Command\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#Linux%20Wall%20Command\"\u003ELinux Wall Command\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Run%20C%20Program%20In%20Linux\" itemprop=\"url\"\u003ERunning C Program In Linux\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#feel\" itemprop=\"url\"\u003EHow Do You Feel\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#post\" itemprop=\"url\"\u003EMore informative posts\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003C\/div\u003E\n\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Write%20C%20Program%20In%20Linux\" name=\"How To Write C Program In Linux\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EHOW TO WRITE C PROGRAM IN LINUX\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\" target=\"\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nA \u003Cspan style=\"color: lime;\"\u003Ec program\u003C\/span\u003E is written in a text editor and is saved with \u003Cspan style=\"color: lime;\"\u003E\".c\"\u003C\/span\u003E extension. \u003Cspan style=\"color: lime;\"\u003E\".c\"\u003C\/span\u003E helps Unix or Linux OS(operating system) to identify that it is a \u003Cspan style=\"color: lime;\"\u003EC program.\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nI am assuming that all of you can have an access to a text editor and you know how to write in it and save it.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\nLets write our first c program :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E#include\u0026lt;stdio.h\u0026gt;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Eint main()\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E{\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u0026nbsp; \u0026nbsp;printf(\"Yepeeeeeee this is my first C program\\n\"); \/\/ Displays the string as output\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u0026nbsp; \u0026nbsp;return 0; \/\/ tell the OS that the program exited without errors\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E}\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nType the above code in any editor and save it with \u003Cspan style=\"color: lime;\"\u003E\".c\"\u003C\/span\u003E extension say \u003Cspan style=\"color: lime;\"\u003E\"firstprogram.c\"\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cbr \/\u003E\n\u003Ch3 style=\"text-align: left;\"\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EExplanation :\u003C\/span\u003E\u003C\/span\u003E\u003C\/h3\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThe execution of a C program starts with \u003Cspan style=\"color: lime;\"\u003Emain()\u003C\/span\u003E function.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cspan style=\"color: lime;\"\u003E\/\/ ( Double slash )\u003C\/span\u003E is a single line comment and is ignored by the compiler. It is used by the programmer to explain the working of the programs. so that other programmer who reads the program written by him would understand what the program is exactly doing.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cspan style=\"color: lime;\"\u003E\/*\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cspan style=\"color: lime;\"\u003EWritten anything\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E.......\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cspan style=\"color: lime;\"\u003E*\/\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThe above syntax is for multiline comment i.e any text written in between is ignored by the compiler.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nNow what does first line \u003Cspan style=\"color: lime;\"\u003E#include\u0026lt;stdio.h\u0026gt;\u003C\/span\u003E mean :\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThe first line may be confusing, but it’s just a C syntax that tells the compiler to include headers for a standard\u003Cspan style=\"color: lime;\"\u003E input\/output (I\/O)\u003C\/span\u003E library named \u003Cspan style=\"color: lime;\"\u003E\"stdio.h\"\u003C\/span\u003E. This header file is added to the program when it is compiled. It is located at \u003Cspan style=\"color: lime;\"\u003E\/usr\/include\/stdio.h\u003C\/span\u003E\u0026nbsp;and it defines several constants and function prototypes for corresponding functions in the standard\u003Cspan style=\"color: lime;\"\u003E I\/O library\u003C\/span\u003E. Since the \u003Cspan style=\"color: lime;\"\u003Emain()\u003C\/span\u003E\u0026nbsp;function uses the \u003Cspan style=\"color: lime;\"\u003Eprintf()\u003C\/span\u003E function from the standard I\/O library, a\u003Cspan style=\"color: lime;\"\u003E function prototype\u003C\/span\u003E is needed for \u003Cspan style=\"color: lime;\"\u003Eprintf()\u003C\/span\u003E before it can be used. This function prototype (along with many others) is included in the \u003Cspan style=\"color: lime;\"\u003E\"stdio.h\"\u003C\/span\u003E header file. A lot of the power of C comes from its extensibility and libraries.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nIn\u0026nbsp;\u003Cspan style=\"color: lime;\"\u003E\u0026nbsp;printf(\"Yepeeeeeee this is my first C program\\n\") \u003C\/span\u003Ewe have used \u003Cspan style=\"color: lime;\"\u003E\"\\n\"\u003C\/span\u003E this is nothing but a \u003Cspan style=\"color: lime;\"\u003Eescape sequence\u003C\/span\u003E and is known as \u003Cspan style=\"color: lime;\"\u003Enewline character\u003C\/span\u003E and it causes the cursor to move to the start of the next line.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nYou can read more about escape sequence from : \u003Ca href=\"http:\/\/www.comp-psyche.com\/2013\/06\/escape-sequence-and-formatted-output.html\" target=\"_blank\"\u003EESCAPE SEQUENCE\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Compile%20C%20Program%20In%20Linux\" name=\"How To Compile C Program In Linux\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003EHOW TO COMPILE C PROGRAM IN LINUX\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\" target=\"\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nLinux has a compiler named CC ( The C Compiler ) for compiling the C programs written in a text editor. Most unix or linux version also contain The GNU Compiler Collection (GCC) which is a free C compiler that translates C into machine language that a processor can understand.A compiler converts a high-level language into machine language.\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch3 style=\"text-align: left;\"\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EHow to compile \u0026nbsp;C program in Linux:\u003C\/span\u003E\u003C\/span\u003E\u003C\/h3\u003E\n\u003Cdiv\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nNote : The followed command should be issued carefully in terminal and keep in mind of the directory in which you are working. i.e if you have saved your file in media directory then in terminal you should type cd \/media to go to that directory and then issue the following command. If you launch terminal from your taskbar or menu then the working directory is by default \/home\/username. It would be a better idea to open your terminal from the same directory in which your file is saved.\u003C\/div\u003E\n\u003Cbr \/\u003E\nFor compiling a C program you can simply type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow what does the above two statement does :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis will try to compile \u003Cspan style=\"color: lime;\"\u003Efirstprogram.c\u003C\/span\u003E and if successful will produce a runnable file called \"a.out\" which is a default name. If you want to give the runnable file a better name you can type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc firstprogram.c -o firstprogram ( or cc firstprogram.c -o testprog.out )\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc firstprogram.c -o firstprogram ( or gcc firstprogram.c -o firstprogram.out )\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThis will compile \u003Cspan style=\"color: lime;\"\u003Efirstprogram.c\u003C\/span\u003E and \u0026nbsp;create a \u0026nbsp;runnable file \u003Cspan style=\"color: lime;\"\u003Efirstprogram\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nIf you notice we have excluded the extension \".out\" but not to worry with extension or without extension your runnable or executable file will work.\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#Linux%20Make%20Command\" name=\"Linux Make Command\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003ELINUX MAKE COMMAND\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nUNIX or Linux also includes a very useful program called \u003Cspan style=\"color: lime;\"\u003E\"make\"\u003C\/span\u003E. Make allows very complicated programs to be compiled quickly, by reference to a configuration file (usually called Makefile). If your C program is a single file, you can usually use\u0026nbsp;\u003Cspan style=\"color: lime;\"\u003E\"make\"\u003C\/span\u003E by simply typing :\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Emake firstprogram\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThis will compile \u003Cspan style=\"color: lime;\"\u003Efirstprogram.c\u003C\/span\u003E and put the executable code in \u003Cspan style=\"color: lime;\"\u003Efirstprogram\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cspan style=\"color: lime;\"\u003E\"make\"\u003C\/span\u003E does the same task what \u003Cspan style=\"color: lime;\"\u003Ecc firstprogram.c -o firstprogram\u003C\/span\u003E or \u003Cspan style=\"color: lime;\"\u003Egcc firstprogram.c -o firstprogram\u003C\/span\u003E does.\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Cspan style=\"font-weight: normal;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#Linux%20Wall%20Command\" name=\"Linux Wall Command\"\u003E\u003Cspan style=\"color: yellow;\"\u003ELINUX WALL COMMAND\u003C\/span\u003E\u003C\/a\u003E\u003C\/span\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\" target=\"\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe \u003Cspan style=\"color: lime;\"\u003E-Wall option\u003C\/span\u003E causes the compiler to warn you about legal but dubious code constructs, and will help you catch a lot of bugs very early. To use \u003Cspan style=\"color: lime;\"\u003E-Wall option\u003C\/span\u003E you can type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc -Wall -c firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc -Wall -c firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIf you want to be even more specific you can type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc -Wall -Wstrict-prototypes -ansi -pedantic -c firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc -Wall -Wstrict-prototypes -ansi -pedantic -c firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe \u003Cspan style=\"color: lime;\"\u003E-Wstrict-prototypes\u003C\/span\u003E option means that the compiler will warn you if you haven't written correct prototypes for all your functions. The \u003Cspan style=\"color: lime;\"\u003E-ansi\u003C\/span\u003E and \u003Cspan style=\"color: lime;\"\u003E-pedantic\u003C\/span\u003E options cause the compiler to warn about any non-portable construct (i.e \u0026nbsp;constructs that may be legal in gcc but not in other standard C compilers. We should try to avoid such features).\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNote - Running the commands :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc -Wall -c firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc -Wall -c firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cspan style=\"color: lime;\"\u003Egcc -Wall -Wstrict-prototypes -ansi -pedantic -c firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc -Wall -Wstrict-prototypes -ansi -pedantic -c firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nproduces object file named \u003Cspan style=\"color: lime;\"\u003Efirstprogram.o\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSo the next step is to make a runnable or executable file from the object file. To make an runnable or executale file type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc firstprogram.o -o firstprogram or\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc firstprogram.o -o firstprogram\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis produces an executable file named firstprogram\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo create an executable file directly without producing an object file. You can type :\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Egcc -g -Wall -o firstprogram firstprogram.c or\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Ecc -g -Wall -o firstprogram firstprogram.c\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis produces an executable file named \u003Cspan style=\"color: lime;\"\u003Efirstprogram\u003C\/span\u003E without producing an object file \u003Cspan style=\"color: lime;\"\u003Efirstprogram.o\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#How%20To%20Run%20C%20Program%20In%20Linux\" name=\"How To Run C Program In Linux\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003EHOW TO RUN C PROGRAM IN LINUX\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nNow that we are done with writing and compiling our code. Lets run it. You can run your code by simply typing the runnable or executable file name i.e type :\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003Efirstprogram\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"text-align: justify;\"\u003E\u003Cbr \/\u003E\n\u003C\/span\u003E \u003Cspan style=\"text-align: justify;\"\u003EIf in case the above command show error and does not execute your runnable file then you can type :\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: lime;\"\u003E.\/firstprogram\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis tells the compiler that the executable file is in the current working directory.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#feel\" name=\"feel\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EHOW DO YOU FEEL\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#C%20Programming%20In%20Linux\"\u003EBack to content\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nNow that you have executed your first C program. Tell us how do you feel by simply dropping a comment in the comment box.\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/compiling-running-program-in-linux.html#post\" name=\"post\"\u003E\u003Cspan style=\"color: yellow;\"\u003EMore Informative post :\u003C\/span\u003E\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cul style=\"text-align: left;\"\u003E\n\u003Cli\u003E\u003Cspan style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2013\/11\/learn-C.html\" itemprop=\"url\"\u003ELearn C\u003C\/a\u003E\u003C\/span\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cspan style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html\" itemprop=\"url\"\u003EC Programs\u003C\/a\u003E\u003C\/span\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cspan style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2013\/11\/common-programming-error-complete-list.html\" itemprop=\"url\"\u003ECommon Programming Errors\u003C\/a\u003E\u003C\/span\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.comp-psyche.com\/feeds\/1990926055671286710\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/1990926055671286710"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/1990926055671286710"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html","title":"C Programming In Linux"}],"author":[{"name":{"$t":"Mantu Kumar"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02897308282659594376"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-8285804830535272268.post-9059165963397579917"},"published":{"$t":"2014-01-28T06:29:00.001-08:00"},"updated":{"$t":"2014-07-09T13:54:47.875-07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"C Programs"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Contents"}],"title":{"type":"text","$t":"C PROGRAMS"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHere more than 100 basic \u003Cspan style=\"color: lime;\"\u003Ec programs\u003C\/span\u003E are listed for practice. I have divided these \u003Cspan style=\"color: lime;\"\u003Ec programs\u003C\/span\u003E according to the topics for easier navigation and understanding.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nRequest : Please Link to this post and share this on social networking sites if you find it useful.\u003Cbr \/\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\" name=\"contents\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003ECONTENTS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Cdiv\u003E\n\u003Cul style=\"text-align: left;\"\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#fundamentals\"\u003EC Fundamentals\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#controlstructures\"\u003EControl Structures\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#patterns\"\u003EPatterns\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#functions\"\u003EFunctions\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#recursion\"\u003ERecursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#arrays\"\u003EArrays\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#strings\"\u003EString\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#pointers\"\u003EPointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#dms\"\u003EDynamic Memory Allocation\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#fundamentals\" name=\"fundamentals\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003EFUNDAMENTALS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003C\/div\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals.html#p1\"\u003EA simple program for printing a line of text\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals.html#p2\"\u003EProgram to input integer number and display it\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals.html#p3\"\u003EProgram to add, subtract, multiply and divide two numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals.html#p4\"\u003EProgram to subtract two numbers without using arithmetic operator ( - )\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals.html#p5\"\u003EProgram to find greatest between three numbers using conditional operator ( ? : )\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals1.html#p6\"\u003EProgram to find the average of three numbers with input values as integer and output value (avg) as float\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals1.html#p7\"\u003EProgram to find the area of a right angled triangle based on base and height values\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals1.html#p8\"\u003EProgram to find or obtain the sum of square of two floating point numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals1.html#p9\"\u003EProgram to find the simple interest an total amount based on interest\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals1.html#p10\"\u003EProgram to enter 10 digit number and displaying it in the given format where first 3 digit refer to area code, next three digit to exchange code and remaining to number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals2.html#p11\"\u003EProgram to input a number and find whether it is even or odd\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals2.html#p12\"\u003EProgram to find biggest of four no by using ternary operator\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals2.html#p13\"\u003EProgram to print smallest of four no by using ternary operators\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals2.html#p14\"\u003EProgram to accept a year and check the given year is leap or not by using ternary operator\u003C\/a\u003E\u0026nbsp;\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-fundamentals2.html#p15\"\u003EProgram to find area of a triangle when there sides are given\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#controlstructures\" name=\"controlstructures\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003ECONTROL STRUCTURES\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures.html#p1\"\u003EProgram to multiply 2 number without using * operator\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures.html#p2\"\u003EProgram to determine Armstrong number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures.html#p3\"\u003EProgram to input time in seconds and convert them into hours and seconds and display it\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures.html#p4\"\u003EProgram to determine Palindrome number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures.html#p5\"\u003EProgram showing the use of 'goto' statement\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures1.html#p6\"\u003EProgram for finding the factorial of a number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures1.html#p7\"\u003EProgram to find whether the entered character is vowel or not using if else\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures1.html#p8\"\u003EProgram to find whether the entered character is vowel or not using switch case\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures1.html#p9\"\u003EProgram to print the table of a given number till the user wishes\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures1.html#p10\"\u003EProgram to sum up all the integer numbers input at run time until zero is entered\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures2.htm#p11\"\u003EProgram to find whether a given number is Prime or Not\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures2.html#p12\"\u003EProgram to print ( list ) all the prime number between 1 to n\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures2.htm#p13\"\u003EProgram to print (list) Palindrome number from 10 to n\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures2.htm#p14\"\u003EProgram to print (list) Armstrong Number between two given numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures2.htm#p15\"\u003EProgram to print the factor of a given number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures3.html#16\"\u003EProgram to print the fibonacii series till which user wishes\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures3.html#17\"\u003EProgram to determine whether entered character is capital case letter, small case letter, a digit or a special symbol\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures3.html#18\"\u003EProgram to find whether a number is Perfect Square or Not\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures3.html#19\"\u003EProgram to print (list) Perfect Square Number between any two number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures3.html#20\"\u003EProgram for Bank account Handling\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures4.html#p21\"\u003EProgram to award Grades\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures4.html#p22\"\u003EGrade Program without using if-else statement\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures4.html#p23\"\u003EProgram to calculate the sum of individual digits of a number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-control-structures4.html#p24\"\u003EProgram to determine whether a given year is leap year or not\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-encode-and-decode-cipher.html\"\u003EProgram to encode and decode ( cipher )\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#patterns\" name=\"patterns\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003EPATTERNS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns.html#p1\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E*\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * *\u0026nbsp;\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns.html#p2\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E* \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * * * ..... till n rows\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns.html#p3\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4 5 .... till n rows\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns.html#p4\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E2 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E3 3 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E4 4 4 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 5 5 5 5 .... till n rows\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns.html#p5\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 1 1 1 1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E2 2 2 2 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E3 3 3 3 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E4 4 4 4 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 5 5 5 5\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns1.html#p6\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E5\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3 2 1\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns1.html#p7\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4 5\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns1.html#p8\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3 2 1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3 2\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 4\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns1.html#p9\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E        *\n      * *\n    * * *\n  * * * *\n* * * * *\u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns1.html#p10\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E        1\n      1 2\n    1 2 3\n  1 2 3 4\n1 2 3 4 5\u003C\/span\u003E\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-pointers2.html#p11\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E        5\n      4 5\n    3 4 5\n  2 3 4 5\n1 2 3 4 5\n\u003C\/span\u003E\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-pointers2.html#p12\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4 5 .... till n rows\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-pointers2.html#p13\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E1                 1\n1 2             1 2\n1 2 3         1 2 3\n1 2 3 4     1 2 3 4\n1 2 3 4 5 1 2 3 4 5\u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-pointers2.html#p14\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E1                 1\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2             2 1\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3         3 2 1\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4     4 3 2 1\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4 5 5 4 3 2 1\u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-pointers2.html#p15\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E1                 5\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2             5 4\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3         5 4 3\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4     5 4 3 2\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E1 2 3 4 5 5 4 3 2 1\u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns3.html#16\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E1  \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E2 6 \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E3 7 10\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E4 8 11 13\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E5 9 12 14 15 ... till n rows\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns3.html#17\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E******** ********\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E*******   *******\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E******     ****** \u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E*****       *****\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E****         ****\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E***           ***\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E**             **\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E*               *\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E\u003C\/span\u003E \n\u003Cspan style=\"color: blue;\"\u003E*               *\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E**             **\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E***           ***\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E****         ****\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E*****       ***** \u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E******     ******\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E*******   *******\u003C\/span\u003E\n\u003Cspan style=\"color: blue;\"\u003E******** ********\u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns3.html#18\"\u003EProgram to print the given pattern\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cpre\u003E\u003Cspan style=\"color: blue;\"\u003E \n      *\n     ***\n    *****\n   *******\n  *********\n   *******  \n    *****\n     ***\n      * \u003C\/span\u003E\n\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns3.html#19\"\u003EProgram to print the given pattern :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E8 4 2 1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E4 2 1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E2 1\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E1\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/02\/c-programs-patterns3.html#20\"\u003EProgram to print Pascal triangle :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#functions\" name=\"functions\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EFUNCTIONS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p1\"\u003EProgram to find sum of two numbers using function sum(int,int) that returns sum value\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p2\"\u003EProgram to print the area of a rectangle\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p3\"\u003EProgram to find the factorial of two numbers and add them and print the result\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p4\"\u003EProgram to implement functions that returns HCF OR GCD and LCM of two numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p5\"\u003EImplement a function that takes two values of integer type and interchange them\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p5\"\u003E1. without using Third variable. You may use arithmetic operators\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-functions.html#p5\"\u003E2. With the use of third variable. You should not use arithmetic operator\u003C\/a\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-function1.html#p6\"\u003EWrite a function that receives a positive integer as input and returns the leading digit in its decimal representation\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-function1.html#p7\"\u003EImplement a function that receives an integer value and returns the number of prime factors of that number. If the number is itself a prime number then return 0\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-function1.html#p8\"\u003EProgram to find maximum number between three numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-function1.html#p9\"\u003EProgram to accept a number and print the sum of given and Reverse number using function\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cdiv\u003E\n\u003C\/div\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#recursion\" name=\"recursion\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003ERECURSION\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion.html#p1\"\u003EProgram to find the factorial of a Number using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion.html#p2\"\u003EProgram to print sum of n natural numbers from 1 to n ( Number ) using recursion\u0026nbsp;\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion.html#p3\"\u003EProgram to calculate the power using recursion. Example a^b ( Here ^ = Power sign )\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion.html#p4\"\u003EProgram to find the GCD ( Greatest Common Divisior ) or HCD ( Highes Common Factor ) using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion.html#p5\"\u003EProgram to Reverse a Number using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p6\"\u003EProgram to find whether a number is Palindrome or not using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p7\"\u003EProgram to find whether a number is Armstrong or not using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p8\"\u003EProgram to print the fibonacci series upto nth terms using recursion\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p9\"\u003EProgram to print first \"n\" natural numbers in reverse order\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p10\"\u003EProgram to print patter :\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E*\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * *\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003Cli\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-recursion1.html#p11\"\u003EProgram to print given pattern : \u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv class=\"mokcode\"\u003E\n\u003Cspan style=\"color: blue;\"\u003E*\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * \u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * *\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue;\"\u003E* * * * * till n terms\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#arrays\" name=\"arrays\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EARRAYS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays.html#p1\"\u003EProgram to accept elements in an array and display it\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays.html#p2\"\u003EProgram to accept elements in an array and display sum of all the elements\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays.html#p3\"\u003EProgram to insert element in between an array. ( INSERTION )\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays.html#p4\"\u003EProgram to delete element from an array. ( DELETION )\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays.html#p5\"\u003EProgram to perform Transpose of a Matrix\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays1.html#p6\"\u003EProgram to find Minimum element in an array\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays1.html#p7\"\u003EProgram to find highest minimum temperature and lowest maximum temperature\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays1.html#p8\"\u003EProgram to accept 10 numbers and print first five numbers in original order and print last five numbers in reverse order\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays1.html#p9\"\u003EProgram showing Passing array to function.\u0026nbsp;Program finds the average of 5 marks input by user\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays1.html#p10\"\u003EProgram to initialize a character array and display the initialized character array in reverse order\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays2.html#p11\"\u003EProgram to generate histogram of entered number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays2.html#p12\"\u003EProgram to enter values into a two-dimensional integer array of size (4 X 3) and then display it in matrix form\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays2.html#p13\"\u003EWrite a program to enter values into a two-dimensional integer array of size (4 X 3) and then display the elements of the second row\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays2.html#p14\"\u003EProgram to find the sum of elements that are greater than 5 within a two-dimensional array through a function receiving the array as arguments\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays2.html#p15\"\u003EProgram To Accept 5 Student - Roll No, Marks in 3 Subjects of each student and Calculate Total, Average and Print it along with student roll Number\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays3.html#p16\"\u003EPrograms to multiply two Matrices\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays3.html#p17\"\u003EProgram to print a diagonal matrix with diagonal value enter by user\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays3.html#p18\"\u003EProgram to print a anti diagonal matrix with diagonal value enter by user\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-arrays3.html#p19\"\u003EProgram to print the sum of diagonal values and anti-diagonal values of a matrix\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cdiv\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#strings\" name=\"strings\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003ESTRINGS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings.html#p1\"\u003EProgram to accept a string and print it\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings.html#p2\"\u003EProgram to accept a character in the uppercase and print in lower case\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings.html#p3\"\u003EProgram to accept a string in Lower case and print it in upper case\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings.html#p4\"\u003EProgram to accept a character in any case and print in another case\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings.html#p5\"\u003EProgram to accept a string and print it by using while loop\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings1.html#p6\"\u003EProgram to find length of a string using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings1.html#p7\"\u003EProgram to find length of a string without using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings1.html#p8\"\u003EProgram for Copy a String to another using String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings1.html#p9\"\u003EProgram to find length of a string without using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p10\"\u003EProgram for Compare two String using String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p11\"\u003EProgram for Compare two String without using String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p12\"\u003EProgram for String Reverse with String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p13\"\u003EProgram for String Reverse without String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p14\"\u003EProgram for String Concatenation with String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strigns2.html#p15\"\u003EProgram for String Concatenation without String Function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings3.html#p16\"\u003EProgram to convert all characters in a string to lower case using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings3.html#p17\"\u003EProgram to convert all characters in a string to lower case without using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings3.html#p18\"\u003EProgram to convert all characters in a string to upper case using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings3.html#p19\"\u003EProgram to convert all characters in a string to upper case without using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings3.html#p20\"\u003EProgram to enter 5 string and print them with their length\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings4.html#p21\"\u003EProgram to accept a string and print each word of the string separately also print total number of words\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings4.html#p22\"\u003EProgram to accept a string and display vowels frequency( total number of vowels)\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings4.html#p23\"\u003EProgram to accept a string and display frequency of each vowel along with vowel\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings4.html#p24\"\u003EProgram to enter a word and check whether it is palindrome or not using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-strings4.html#p25\"\u003EProgram to enter a word and check whether it is palindrome or not without using string function\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#pointers\" name=\"pointers\"\u003E\u003Cspan style=\"color: yellow; font-weight: normal;\"\u003EPOINTERS\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers.html#p1\"\u003EProgram to accept two numbers and print its address along with the numbers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers.html#p2\"\u003EProgram to accept two numbers and print the sum of given two numbers by using pointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers.html#p3\"\u003EProgram to interchange two values using pointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers.html#p4\"\u003EImplement a function interchange() to interchange two values using pointers\u0026nbsp;\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers.html#p5\"\u003EProgram to sum all the elements of an array using pointer\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p6\"\u003EProgram to find maximum element of an array of elements using pointer\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p7\"\u003EProgram to print sum of all the elements in 2D array using pointer\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u0026nbsp;\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p8\"\u003EProgram to sort an array of elements using pointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p9\"\u003EProgram to sort string using pointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p10\"\u003EProgram to search given element in an array using pointers\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-pointers1.html#p11\"\u003EProgram to demonstrate the use of pointer to pointer\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cdiv\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Ch2 style=\"text-align: left;\"\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#dms\" name=\"dms\" style=\"font-weight: normal;\"\u003E\u003Cspan style=\"color: yellow;\"\u003EDYNAMIC MEMORY ALLOCATION\u003C\/span\u003E\u003C\/a\u003E\u003C\/h2\u003E\n\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#contents\"\u003EBack to contents\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Col style=\"text-align: left;\"\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma.html#p1\"\u003EProgram to dynamically allocate memory using calloc for \"n\" integer elements, input elements, display it and then free the memory\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma.html#p2\"\u003EProgram to dynamically allocate memory using malloc for \"n\" integer elements, input elements, display it and then free the memory\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma.html#p3\"\u003EProgram to dynamically allocate memory using malloc for \"n\" integer elements, input elements and then display it. Then reallocate memory for the same pointer variable, input elements, display it and then free the memory\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma.html#p4\"\u003EProgram to find the length of the string\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma1.html#p5\"\u003EProgram to find the sum of \"n\" elements\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma1.html#p6\"\u003EProgram to sort \"n\" elements in ascending order\u0026nbsp;\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma1.html#p7\"\u003EProgram to search an element\u003C\/a\u003E\u0026nbsp;\u003C\/li\u003E\n\u003Cli style=\"text-align: justify;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs-dma1.html#p8\"\u003EProgram to enter three strings and sort them in ascending order alphabetically\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.comp-psyche.com\/feeds\/9059165963397579917\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/9059165963397579917"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/9059165963397579917"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html","title":"C PROGRAMS"}],"author":[{"name":{"$t":"Mantu Kumar"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02897308282659594376"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-8285804830535272268.post-1751055533285805299"},"published":{"$t":"2013-11-17T07:46:00.000-08:00"},"updated":{"$t":"2016-05-17T09:39:47.526-07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Contents"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Learn C"}],"title":{"type":"text","$t":"Learn C"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cul type=\"square\"\u003E\n\u003Cli style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/03\/c-programming-in-linux.html\"\u003EC Under Linux\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2013\/11\/common-programming-error-complete-list.html\"\u003ECommon Programming Errors\u003C\/a\u003E\u003C\/li\u003E\n\u003Cli style=\"color: yellow;\"\u003E\u003Ca href=\"http:\/\/www.comp-psyche.com\/2014\/01\/c-programs.html\"\u003EC Programs\u003C\/a\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.comp-psyche.com\/feeds\/1751055533285805299\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2013\/11\/learn-C.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/1751055533285805299"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/8285804830535272268\/posts\/default\/1751055533285805299"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.comp-psyche.com\/2013\/11\/learn-C.html","title":"Learn C"}],"author":[{"name":{"$t":"Mantu Kumar"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02897308282659594376"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}}]}});