Getting Started with C

  What is C and how does it works?

   C is a low-level and powerful language, learning C requires some degree of understanding how computers really work. In this article, you are going to develop the first program in C. You will learn how the sequence of a C program works.

   The C program is a set of functions and always starts executing in a special function which is known as main function . Here the simple program that prints a greeting message "Hello World" on the screen.

   Example:

    #include <stdio.h>

    main()
    {
        printf("Hello World!\n");
    }

Process to compile and run the C program:
  • Write C program in a text editor (eg. Notepad) and save it as dot(.)c extension (eg. hellow_word.c).
     
  • Compile with a C Compiler (eg. gcc hello_world.c). it just produces the executable file as hello_world.exe.
     
  • Run this executable file (eg. gcc -o hello_world).
Let's know how the above program works. 
  • First line is the the #include directive. C program uses this directive to load external function library - stdio is c library which provides standard input/output. The printf () is a function which is declared in the header file called stdio.h
  • The next is the main function - the first entry point of all C programs. C program logic starts from the beginning of main function to the its ending.
  • And finally is the printf  function which accepts a string parameter. The printf function is used to print out the message to the screen.  

Enjoy programming! 

Further questions please inform us.

Download Demo Projects

  • VB Sample Projects
  • C# Sample Projects
  • ASP.NET Sample Projects
  • JAVA Sample Projects

Technical Books

Technical Books...

Study Materials About C, C++, JAVA, C#

You Can Collect The Study Materials What You Need To Study. For all subject areas, like Core Languages (C, C++, JAVA, C# etc..), Web Developing Technologies (ASP, ASP.NET, J2EE, J2SE, J2ME, PHP, RUBBY, PYTHON etc..),Database (DBMS, RDBMS, MS ACCESS, MYSQL, MS SQL, DB2 etc..) And Also Get Any Type Of Help From Our Team.

Core Languages
---------------------------------------------------------------
C Programing Language

C  is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
You can find all types of questions with answers and sample programs.
To Find, Click Here
   ---------------------------------------------------------------
C++ Programing Language

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features.
You can find all types of questions with answers and sample programs.

To Find, Click Here 
  
---------------------------------------------------------------
Java Programing Language

Java is a programming language originally developed by Sun Microsystems, core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.
You can find all types of questions with answers and sample programs.

 To Find, Click Here


---------------------------------------------------------------

---------------------------------------------------------------
C# Programing Language

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma.
You can find all types of questions with answers and sample programs.

To Find, Click Here 
---------------------------------------------------------------

Hi....I am Mithun....

Hi....I am Mithun.... I am here for you people only to give you help or suggestion for projects about C# , VB and ASP.NET...and more....

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes