Monday, 24 February 2014

If statement in C

If statement

The keyword "if" tells the compiler that what follows is decision control statement.

"If" statement is a conditional branching statement. In conditional branching statement a condition is evaluated,if it is evaluate true a group of statement is executed,or if it is evaluate false then statement are skipped.

What are the instruction set in C Language ?

To understand and for clear idea of question What are the instructions set in C Language ? we need clear idea on what is an instruction and instruction set ?

Instruction Set- An instruction set is a set of instruction in program that execute and compile  by compiler

Instruction is an order that writes in program for specific purpose. Each instruction is a sequence of  0s and 1s that describes a physical operation the computer is to perform (such as \”Add\”) and, depending on the particular instruction type.

Wednesday, 19 February 2014

What is C language and how it relate with human language?

This is very good question to clear your concept on C that What is C language and how it relate with human language?
      C language is general purpose language developed by Dennis Ritchie at Bell Laboratory in 1972 from a language names B. B was also developed at Bell laboratory.

The first major program written in c was UNIX operating system and for many years, c considered to be inextricably linked with UNIX  , C is an important language independent of UNIX.

What is a constant,variable and keyword in C?

To learn C Language at first we need clear idea on What is a constant,variable and keyword in C?

Constant refers to the fixed value that do not change during the execution of program. A constant may be number , character or character string that can be used as a value in a program. To use constant to reprent integer,floating point or charcter value that can not be modified.
       Constant divided into two major categories