Monday, April 25, 2016

Different Forms of main() Statement

**C permits different forms of main statement. The following forms are followed :

  • main()
  • main(void)
  • int main(void)
  • void main()
  • void main(void)
  • int main(void)


main() and main(void)

The empty pair of parentheses main() and also the main(void) indicates that the function has no argument.

int main()

The statement int main() indicates that the function returns an integer value to the operating system.

void main()

The statement void main() indicates that the function does not return any information to the operating system.

void main(void)

The statement void main(void) indicates that the function does not return any information to the operating system and it has no argument.

int main(void)

 The statement void main(void) indicates that the function return any integer value  to the operating system and it has no argument.
 
 
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Tuesday, April 12, 2016

What are the Main Features of C Language?

The Main Features of C Language : 

  • C is a general purpose language i.e. it can be used for any type of programming solution.
  • It is a structured programming, so it provides a disciplined approach to write the program.
  • It has high-level constructs, which gives users the programming efficiency
  • It can handle low level language, which gives the machine efficiency.
  • It has a rich set of built-in functions and operators that can be used to write any complex program.
  • C compiler combines the capability of an assembly language with the features of high level language. Therefore well suited for writing both system-software and business-packages.
  • Program written in C are efficient and fast due to its variety of data types and powerful operators.
  • C is highly portable i.e. C program written for one computer can be run on another computer with little or no modification.
  • Its modular structure makes program- debugging, testing and maintenance, easier.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Why C is system Programming Language?

C is called system Programming Language, because -

## C compiler has characteristics of an assembly language with features of high level language. This characteristics makes C program as a easy and well designed programming language.

## By using this language we can work in bit level language which is the main concept of system software. C supports mathematical and logical statements which are very important for system software. It can make an relation between high level languages and how level language that makes easy process to write system software.


Why C is Mid-level Language?

** Middle Level Language :

  • Middle Level Languages are closely related to Machine as well as Human Being.
  • C is middle level Language.

Cause C is Middle Level Language : 

  • C supports inline Assembly Language Programs.
  • In Assembly Language direct access to system Register is given so Assembly is Machine Dependent.
  • C also supports high Level Language Features.
  • It is more User friendly as compare to Previous languages. So, C is Middle Level Language.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Why C is high - level Language?

** We know that a high-level language has some characteristics such as :

  • It is easy to understand
  • It is similar to English, therefore, it is easier to learn.
  • It has rich sets of built in functions.
  • It takes less executing time, etc.
  • As C has those characteristics, so we can say "C is high level language".
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Importance of C Language

* It has a rich set of built-in functions and operators that can be used to write any complex program.

* C compiler combines the capability of an assembly language with the features of high level language. Therefore well suited for writing both system-software and business-packages.

* Program written in C are efficient and fast due to its variety of data types and powerful operators.

* C is highly portable i.e. C program written for one computer can be run on another computer with little or no modification.

* Its modular structure makes program - debugging, testing and maintenance, easier.


Learn More from Blog :  

Expert Web Engineering

Expert Computer Networking

Talent Programming Language C

Logical Discrete Mathematics

Expert Compiler Design

Expert Data Structure

Professional Algorithm Design

Professional Responsive Web Page Design By Bootstrap

Talent Software Engineering
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

About C Language

'C' Programming Language was developed by Dennis Ritchie at AT & T Bell laboratories in 1972. this is general purpose, compiled, structured programming language. Dennis Ritchie studied the BCPL, then improved and named it as 'C'. The C programming language Brian Kerninghan and Dennis Ritchie in 1978.American national Standards Institute(ANSI) approves a version of C in 1989 which is known as ANSI C.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE