Posts

C BASIC (DATA) TYPES

Image
C (Basic) Data Types -different data representations need different types in programming-

Introduction to C Programming

Image
                                                A Simple C Program: Structured and disciplined approach to program design 1 : Printing a Line of Text 1 2 3 4 5 6 7 8 9 10 /* A First program in C */ #include <stdio.h> int main () { printf ( "Welcome in C!\n); return 0 ; } OUTPUT: Welcome to C!  Comments              -- Text surrounded by /* and */ is ignored by computer              --  Used to describe program         2 .  #include             --  Preprocessor directive  ...

Pattern programs in C

Image
C Programming Code To Create Pyramid and Pattern Pattern programs in C language: These programs print various patterns of numbers and stars. These codes illustrate how to create various patterns using C programming. Most of these C programs involve usage of nested for loops. A pattern of numbers, star or characters is a way of arranging these in some logical manner or they may form a sequence. Some of these patterns are triangles which have special importance in mathematics. Some patterns are symmetrical while others are not. Please see the complete page and look at comments for many different patterns. Example : Program to print half pyramid using *                     *                     * *                     * * *      ...

Download Software

Image
Download Software 1 : Bloodshed Dev-C++ is a full-featured programming environment and compiler for creating software in C++. Included in the Dev-C++ environment are all of the standard features necessary for writing, compiling, debugging, and executing programs written in C. Download Link : Dev-C++ Netbean C++ 2 : NetBeans C/C++ support lets you create C and C++ Application and Library projects with generated makefiles, as well as C and C++ projects with existing sources. You can build, run, and debug your project on the local host (the system from which you started the IDE) or on a remote host running a UNIX® operating system. Download Link : NetBeans IDE 8.2 Turbo C++ 3 : Turbo C++ is a discontinued C++ compiler and integrated development environment and computer language originally from Borland. Most recently it was distributed by Embarcadero Technologies, which acquired all of Borland's compiler tools with the purchase of its CodeGear division i...

Program to print half pyramid a using numbers

1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Code #include int main() { int i, j, rows; printf("Enter number of rows: "); scanf("%d",&rows); for(i=1; i

C pattern program of stars and alphabets:

     *    *A*  *A*A* *A*A*A* 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 #include<stdio.h> main() { int n, c, k, space, count = 1 ; printf( "Enter number of rows \n " ); scanf( "%d" , & n); space = n; for ( c = 1 ; c <= n ; c ++ ) { for ( k = 1 ; k < space ; k ++ ) printf( " " ); for ( k = 1 ; k <= c ; k ++ ) { printf( "*" ); if ( c > 1 && count < c) { printf( "A" ); count ++ ; } } printf( " \n " ); space -- ; count = 1 ; } return 0 ;

About in C programmin

C programming is an ANSI/ISO standard and powerful programming language for developing real time applications. C programming language was invented by Dennis Ritchie at the Bell Laboratories in 1972. It was invented for implementing UNIX operating system. C programming is most widely used programming language even today. All other programming languages were derived directly or indirectly from C programming concepts. C programming is the basis for all programming languages. This C programming tutorial explains all basic concepts in C like history of C language, data types, keywords, constants, variables, operators, expressions, control statements, array, pointer, string, library functions, structures and unions etc. This C programming tutorial is designed for the new learners, students and also for the corporate level developers who want to learn and refresh their C programming skills. C is a general-purpose high level language that was originally developed by Dennis Ritchie for the...