Monday, 9 January 2012

C beginners

Who invented the C language

Hai friends here we are a very simple steps to write a first c program and execute it and also iam giving who invented the C language

Dennis Ritchie "offically" created the C programming language while working at Bell labs. However, Ken Thompson should also be mentioned since he created a slightly lesser known language called B which is the basis of the C language. Ritchie added "types" and other changes but kept most of B's syntax.

How to write first c program

A simple C program.

1: /* This is my first C program */
2: #include
3:
4: main()
5: {
6: printf ("Howdy, neighbor! This is my first C program.\n");
7: return 0;
8: }
after writing save it name.c(ex:sample.c)
compile:ctrl+F9
run :Alt+F5

No comments:

Post a Comment