Introduction to "C"
The C is a general-purpose, procedural, imperative computer
programming language developed in 1972 by Dennis M. Ritchie at the Bell
Telephone Laboratories to develop the UNIX operating system.The C is the most widely used computer language, it keeps fluctuating
at number one scale of popularity along with Java programming language,
which is also equally popular and most widely used among modern
software programmers.
In C, the program to print ``hello, world'' is
#include <stdio.h>
main()
{
printf("hello, world\n");
}
Just how to run this program depends on the system you are using. As a specific
example, on the UNIX operating system you must create the program in a file whose name ends in ``.c'', such as hello.c, then compile it with the command
gcc hello.c
If you haven't botched anything, such as omitting a character or misspelling something,the compilation will proceed silently, and make an executable file called a.out. If you run
a.out by typing the command
a.out
it will print hello, world
Note:-(if you are using turbo c/codeblocks different types of compilation process are follow with respect to the compilor...)
hurrayyyy!!!!!
Now you are a c-programmer........
In C, the program to print ``hello, world'' is
#include <stdio.h>
main()
{
printf("hello, world\n");
}
Just how to run this program depends on the system you are using. As a specific
example, on the UNIX operating system you must create the program in a file whose name ends in ``.c'', such as hello.c, then compile it with the command
gcc hello.c
If you haven't botched anything, such as omitting a character or misspelling something,the compilation will proceed silently, and make an executable file called a.out. If you run
a.out by typing the command
a.out
it will print hello, world
Note:-(if you are using turbo c/codeblocks different types of compilation process are follow with respect to the compilor...)
hurrayyyy!!!!!
Now you are a c-programmer........
If you want deep info about this topic you can contact me through contact form in the left side above of this blog
ReplyDelete