LPU,NH-1 GT road, Jalandhar rohit.hero12@gmail.com +91-8437503569 https://www.facebook.com/rohit.adhikary3

P-Programming T-Technology A-And TI-Tips C-Cracking

Saturday, 7 February 2015

Overview of C

Hello Reader,
In this page,i am going to tell you basic concept of 'C' programming because this language is going to be used in this AVR. This 'C' language will be used in many other programming because 'C' is the first programming language that came in the market and after that other programming Language came like C++ , JAVA ,C#. So,here lets start what is 'C' language? answer to this question ,'C' is the programming language that will help to developed the software. It is the basic language and its also important for all the programmer to know basic about 'C' language.'C' is the program that covert from high level language to the low level language which can easily understand by the user.Its covert the machine language to simple alphabetic form.When there was the Operating System call Linux/ Unix came that time this language is been used.This is small language.Its power is large collection of the Data types and operators.This is small and easily written and its a standard library.Week point of this language is is difficult to modify and also to understand it.If we want to display anything in the screen then we have to write ' Printf ' and ' Scanf ' .It is the Functional Programming Language.
eg:-
#include<stdio.h>
main()
{
printf("Hello: ");
}
where # is the directives and stdio is standard input/output.
Keywords that used in this Language are:
int,char,float,double,while,do while,if,if else,for,sizeof,switch,default,break,Enum,volatile etc.
Different Types of operators:
1) Logical Operator
2)Arithmetic Operator
3)Relational Operator
4)Bitwise Operator
1)Logical Operators are the operators which is being logically known.
    eg: || , &&
2)Arithmetic Operators are the operators which is used to add, minus, multiply both numbers.
    eg: +, * ,  / ,% , ++, --
3)Relational Operators are the operators which is having relation between both numbers or variable.
    eg: < , >, !=,<=, >=
4)Bitwise Operators are the operators which is applied to char,int short etc.
    eg:<<, >>


0 comments:

Post a Comment

Popular Posts

Recent Posts

Unordered List

Text Widget

Powered by Blogger.