{"id":19633815,"url":"https://github.com/eyantra698sumanto/basic-c-programs","last_synced_at":"2026-05-15T02:55:46.961Z","repository":{"id":116539028,"uuid":"384060216","full_name":"Eyantra698Sumanto/Basic-C-Programs","owner":"Eyantra698Sumanto","description":"This Repository contains  basic programs in C programming language ","archived":false,"fork":false,"pushed_at":"2022-07-17T08:16:01.000Z","size":644,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T21:27:55.517Z","etag":null,"topics":["array","c","cplusplus","do-while","for","function","matrix","pattern","recursion","search","series","sort","string","structure","structured-programming","while"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eyantra698Sumanto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-08T08:47:43.000Z","updated_at":"2023-05-23T09:43:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"c466fb0d-5a95-484d-815e-7013f4839fb4","html_url":"https://github.com/Eyantra698Sumanto/Basic-C-Programs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eyantra698Sumanto/Basic-C-Programs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyantra698Sumanto%2FBasic-C-Programs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyantra698Sumanto%2FBasic-C-Programs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyantra698Sumanto%2FBasic-C-Programs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyantra698Sumanto%2FBasic-C-Programs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eyantra698Sumanto","download_url":"https://codeload.github.com/Eyantra698Sumanto/Basic-C-Programs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyantra698Sumanto%2FBasic-C-Programs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33051874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array","c","cplusplus","do-while","for","function","matrix","pattern","recursion","search","series","sort","string","structure","structured-programming","while"],"created_at":"2024-11-11T12:18:42.062Z","updated_at":"2026-05-15T02:55:46.931Z","avatar_url":"https://github.com/Eyantra698Sumanto.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic-C-Programs\n\n\n\nArrays\t\n1.\tTo search an element in an array using\ni.\tLinear Search\nii.\tBinary Search.\n2.\tTo sort array in ascending/descending order\n3.\tTo find transpose of a matrix without using another matrix\n4.\tTo find transpose of a matrix with using another matrix\n5.\tTo print array in reverse using pointers and function (Expt 23)\n6.\tTo print pascal triangle (program should ask no of lines to user)\n\t        1\n\t      1 \t1\n\t    1\t  2 \t1\n\t  1\t  3 \t3 \t1\n\t1\t  4 \t6 \t4 \t1\n7.\tWAP to check whether entered matrix is symmetric or not\n8.\tTo find norm of a square matrix\n9.\tTo find trace of a square matrix\n10.\tWrite a program to perform addition of two matrices using user defined functions:\n\ta.\tread_matrix() b. print_matrix() c. add_matrix()\n\tb.\tPrint all three matrices.\n \n\t\n#\nStrings\n\n11.\tWAP to count no of vowels, consonants, digits, spaces and special characters in entered string\n12.\tWAP to check whether entered string is palindrome or not\n13.\tWAP using user defined functions xstrlen, xstrcmp, xstrcpy, xstrcat, xstrev. Use switch case.\n#\nStructure\\\n14.\tCreate a structure Patient having patientID , Name and diseases as data members. Read details of 5 patients and print details of the patients with a disease ‘diabetes’.\n\n15.\tCreate a structure Employee with data members’ employee ID, name and salary. Write a program to sort 10 employees according to their salary (in descending order).\n16.\tWAP to print names of students in ascending order of their average marks using structure student. Student structure contains following elements:\n\tRoll No, Name, marks of 3 subjects (array of int size 3), avg_marks\n17.\tTo create a structure having following elements:\n  \ti.\tEmployee code\n \tii.\tEmployee name\n  \tiii.\tEmployee salary\n  \tiv.\tEmployee date_of_joining\nWAP to read at least 10 records and display them using nested structure.\n18.\tDefine a structure “Hockey” consisting of following elements:\n  \ti.\tPlayer name\n  \tii.\tName of the country\n  \tiii.\tNumber of matches played\n  \tiv.\tNumber of goals scored\n\nWAP to read records of N players and to prepare following lists:\n  \ti)\tList prepared according to players’name\n \tii)\tList prepared according to country’s name\n \tiii)\tList prepared according to number of matches played\n  \tiv)\tList prepared according to number of goals scored\n19.\tTutorial 9 question no 2\n \n20.\tWAP to add two rational numbers using structure\n21.\tWAP to add two complex numbers using structure\n22.\tWAP to find distance of two points using structure\n\tFunctions\n23.\tWrite recursive function\n  \ti.\tTo compute factorial of a number\n  \tii.\tTo compute xn\n  \tiii.\tTo computer gcd of two numbers using Euclid’s algorithm\n  \tiv.\tTo add two numbers\n  \tv.\tTo multiply two numbers\n  \tvi.\tTo add first n natural nos\n  \tvii.\tTo add array elements of array size n\n  \tviii.\tTo print binary equivalent of a number\n  \tix.\tTo print first n terms of Fibonacci series\n24.\tWAP using functions and switch-case to\n \t i.\tDecide whether entered no is odd and even.\n \t ii.\tEntered year is leap or not\n \t iii.\tMaximum of 3 nos using ternary operator\n \t iv.\tSwap two nos.\n \t v.\tTo find area and perimeter of a circle given radius\n\t vi.\tTo find area and perimeter of a rectangle given length and breadth\n \t vii.\tTo find nPr and nCr using fact function\n25.\tWAP to find standard deviation of n numbers inputted by user using function\n\tfind_mean() , find_variance().\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyantra698sumanto%2Fbasic-c-programs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyantra698sumanto%2Fbasic-c-programs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyantra698sumanto%2Fbasic-c-programs/lists"}