-
Notifications
You must be signed in to change notification settings - Fork 1
/
c.html
147 lines (139 loc) · 8.74 KB
/
c.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html>
<head>
<title>C Programming</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, intial-scale=1.0, shrink-to-fit=no">
<meta name="keywords" content="codeworld,code, mmmut codes, html, css, c, data structure, java, c++, learning, programming, development,tutorials,practicals,examples">
<meta name="description" content="It is an educational website for learning coding online. It includes tutorials, references, practicals related to C, C++, Java, Data Structure etc.">
<meta name="author" content="Prashant Kumar Gupta">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/font-awesome.css" type="text/css">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css"/>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="shortcut icon" href="img/logo.jpg">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156947534-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-156947534-1');
</script>
</head>
<body>
<!-- Header Section -->
<nav id="myNavbar" class="rounded navbar fixed-top navbar-expand-md navbar-dark">
<div id="content">
<button type="button" class="navbar-toggler" id="sidebarCollapse" data-toggle="collapse"
aria-expanded="false" aria-label="Toggle navigation">
<span class="fa fa-align-left"></span>
</button>
</div>
<a class="navbar-brand" href="index.html">
<img src="img/logo.jpg" alt="" class="rounded" width="30" height="30"> CodeWorld</a>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#mymenu"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="fa fa-th"></span>
</button>
<div class="collapse navbar-collapse" id="mymenu">
<ul class="mr-auto navbar-nav nav-fill colors">
<li class="nav-item"><a class="nav-link" href="index.html">Home<span class="sr-only"></span></a> </li>
<li class="nav-item active"><a class="nav-link" href="c.html">C </a> </li>
<li class="nav-item"><a class="nav-link" href="cpp.html">C++ </a></li>
<li class="nav-item"><a class="nav-link" href="ds.html">Data Structure</a></li>
<li class="nav-item"><a class="nav-link" href="java.html">Java</a></li>
<li class="nav-item dropdown align-self-center">
<button class="nav-link dropdown-toggle" id="practical" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Practical
</button>
<div class="dropdown-menu" aria-labelledby="practical">
<a class="dropdown-item" href="acm.html">ACM</a>
<a class="dropdown-item" href="swl-4.html">SWL-4</a>
<a class="dropdown-item" href="cod.html">COD</a>
<a class="dropdown-item" href="dbms.html">DBMS</a>
</div>
</li>
<li class="nav-item"><a class="nav-link" href="#contus">Contact Us</a></li>
</ul>
</div>
</nav>
<!-- left Sidebar -->
<div class="wrapper">
<nav id="sidebar" class="shadow-sm">
<div class="mt-5 sidebar-header">
<h3>C Programming</h3>
</div>
<ul class="list-unstyled components">
<li class="active"><a href="#">Introduction</a></li>
<li><a href="c/hellocodeworld.htm">Hello CodeWorld</a></li>
<li><a href="c/maxoffour.htm">Maximum of Four Numbers</a></li>
<li><a href="c/forloop.htm">Using for Loop</a></li>
<li><a href="c/printingpatterns.htm">Pattern Printing</a></li>
<li><a href="c/sumofarray.htm">Sum of Array Elements</a></li>
<li><a href="c/sumofdigits.htm">Sum of Digits</a></li>
<li><a href="c/switchcase.htm">Switch-Case</a></li>
</ul>
</nav>
<div class="pt-4 mt-5 container-sm">
<h2 class="pl-2 mb-4 text-dark">Introduction to C Language</h2>
<div class="mb-5 shadow-sm card">
<div class="text-justify card-body">
<p class="p-2 text-dark">C is a popular general-purpose computer programming language. If you are new to programming, C is a good choice to start your programming journey.
C is a procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations.</p>
<p class="p-2 text-dark"> It was initially developed by Dennis Ritchie in the year 1972.
C was initially used for system development work, in particular the programs that make-up the operating system. C was adoped as a system development language because it produces code that runs nearly as fast as code written in assembly language.<br>
</p>
<p class="p-2 text-dark">C is a powerful programming language which is strongly associated with the UNIX operating system. Even most of the UNIX operating system is coded in C. Initially C programming was limited to the UNIX operating system, but as it started spreading around the world, it became commercial, and many compilers were released for cross-platform systems.
Today C runs under a variety of operating systems and hardware platforms.
As it started evolving many different versions of the language were released.</p>
<h5 class="p-2">Some examples of uses of C language:</h5>
<div class="p-2">
<ul>
<li>Operating Systems</li>
<li>Language Compilers</li>
<li>Assemblers </li>
<li>Text Editors</li>
<li>Print Spoolers</li>
<li>Network Drivers</li>
<li>Modern Programs</li>
<li>Data Bases</li>
<li>Language Interpreters</li>
<li>Utilities</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-auto footer" id="contus">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<ul class="social" data-aos="flip-up">
<li><a href="https://www.facebook.com/imPGupta" target="_blank"><span class="fa fa-facebook"></span></a></li>
<li><a href="https://twitter.com/imPGupta_" target="_blank"><span class="fa fa-twitter"></span></a></li>
<li><a href="mailto:prashantkgupta17@gmail.com" target="_blank"><span class="fa fa-envelope"></span></a></li>
<li><a href="https://www.github.com/impgupta" target="_blank"><span class="fa fa-github"></span></a></li>
<li><a href="https://www.linkedin.com/in/impgupta" target="_blank"><span class="fa fa-linkedin"></span></a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<p class="copyright"> © <script> document.write(new Date().getFullYear()) </script> Prashant KR. Gupta</p>
</div>
</div>
</div>
</footer>
</body>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script src="js/jquery-3.4.1.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>