My Coding!: C programming
Showing posts with label C programming. Show all posts
Showing posts with label C programming. Show all posts

Tuesday, 3 February 2015

// // Leave a Comment

How to start the real program ?

Hi guys Let's start the real program Eaxample 1: #include <stdio.h> void main() {    clrscr();    printf("\n Hello world")    getch(); } Explanation : In above program #include is a preprocesser, it is predefined directory. "stdio.h" is a header file which means standard input output, it is a header file which defines input output operation. The function...
Read More
// // Leave a Comment

Scope of Variables And Range of Datatypes

Hi guys , In last post we learnt about how to declare the variable and when it declare, today we learnt about what are the scope and range of  variable types so let's start : Scope of variables Scope of the variable means life of variable. The scope of variable is limited to the function where it declare. Let's take an example #include <stdio.h> void main() {   int x;  x=5; printf("\n ...
Read More

Sunday, 1 February 2015

// // Leave a Comment

Program Explanation

Hi Friend , Thanks to coming once again In any programming it’s very important to explain your code not only for you but also other who are interested in your code. So, in any programming language you can explain your code using COMMENTS. Comments are critical for all but the most trivial programs and this tutorial will often use them to explain sections of code. When you tell the compiler a section of text is a comment,...
Read More

Friday, 23 January 2015

// // Leave a Comment

Basics of C Programming

This article is designed to be a stand-alone introduction to C, even if you've never programmed before.  I recommend the C, for people who have never programmed before. Because C is simple programming language and understandable to anyone.So Let's Start... Getting set up - finding a C compiler The very first thing you need to do, before starting out in C, is to make sure that you have a compiler. What...
Read More