C Tutorials
The Birth and history of C Programming Language

- 2007-09-07
- Comments
- Emiley J
- 1165
The C language shook the computer world. Its impact should not be underestimated, because it fundamentally changed the way programming was approached and thought about. The creation of C was a direct result of the need for a structured, efficient, highlevel language that could replace assembly code when creating systems programs. As you probably know, when a computer language is designed, trade-offs are often made, such as the following:
Read More
Basics of C

- 2007-09-20
- Comments
- Abinaya
- 1166
C is a general-purpose programming language. It has been closely associated with the UNIX operating system where it was developed, since both the system and most of the programs that run on it are written in C. The language, however, is not tied to any one operating system or machine; and although it has been called a ``system programming language'' because it is useful for writing compilers and operating systems, it has been used equally well to write major programs in many different domains.
Read More
Getting Started with C

- 2007-09-20
- Comments
- Baski
- 1167
The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words, hello, world. This is a big hurdle; to leap over it you have to be able to create the program text somewhere, compile it successfully, load it, run it, and find out where your output went. With these mechanical details mastered, everything else is comparatively easy.
Read More
Variables and Arithmetic Expressions in C

- 2007-09-20
- Comments
- Charles
- 1167
This C sample program uses the formula oC=(5/9)(oF-32) to print the following table of Fahrenheit temperatures and their centigrade or Celsius equivalents:
Read More
The for statement in C

- 2007-09-20
- Comments
- Daniel Malcolm
- 1166
The for statement is a loop, a generalization of the while. If you compare it to the earlier while, its operation should be clear. Within the parentheses, there are three parts, separated by semicolons. The first part, the initialization
Read More
Functions in C

- 2007-09-20
- Comments
- Kamini
- 1166
In C, a function is equivalent to a subroutine or function in Fortran, or a procedure or function in Pascal. A function provides a convenient way to encapsulate some computation, which can then be used without worrying about its implementation. With properly designed functions, it is possible to ignore how a job is done; knowing what is done is sufficient. C makes the sue of functions easy, convinient and efficient; you will often see a short function defined and called only once, just because it clarifies some piece of code.
Read More
Basics of Structures in C

- 2007-09-22
- Comments
- Grenfel
- 1165
The keyword struct introduces a structure declaration, which is a list of declarations enclosed in braces. An optional name called a structure tag may follow the word struct (as with point here). The tag names this kind of structure, and can be used subsequently as a shorthand for the part of the declaration in braces.
Read More
Pointers and Arrays in C

- 2007-09-22
- Comments
- Priya
- 1166
In C, there is a strong relationship between pointers and arrays, strong enough that pointers and arrays should be discussed simultaneously. Any operation that can be achieved by array subscripting can also be done with pointers. The pointer version will in general be faster but, at least to the uninitiated, somewhat harder to understand.
Read More
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Sum of the elements of an array in C
Printing a simple histogram in C
Find square and square root for a given number in C
Simple arithmetic calculations in C
Passing double value to a function in C
Passing pointer to a function in C
Infix to Prefix And Postfix in C
while, do while and for loops in C
Archived Comments
1. I'm a beginner, and I was told it is a good practi
View Tutorial By: Nelson at 2009-08-17 09:13:28
2. Good,
Thank you man.
View Tutorial By: Goldo at 2010-07-12 14:56:14
3. thank you for code
View Tutorial By: turki at 2013-12-11 13:23:44
4. Can anybody tell the steps to go ahead with the ex
View Tutorial By: Sunpenn at 2009-10-12 03:57:58
5. Thanks for giving this basic example of Abstract c
View Tutorial By: Yogendra Kirar at 2010-08-07 07:48:34
6. i want to knew about byte datatype. why did not by
View Tutorial By: pankaj kr tiwari at 2011-12-02 04:37:43
7. Ur article is very intersting and very usefull me
View Tutorial By: SIVAKUMAR at 2011-11-22 11:14:05
8. I need a sample example using checkbox in struts.t
View Tutorial By: Nandhu at 2011-02-25 07:45:39
9. M finding difficulty in understanding Java. Can an
View Tutorial By: Sunil at 2010-09-28 03:54:57
10. we need to know how to write this coding..
View Tutorial By: lalala at 2009-07-15 20:35:16