Pages

Saturday, February 2, 2013

C language

Posted at  1:48 AM  |  in  c++

C is an imperative (procedural) systems implementation language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language.

Despite its low-level capabilities, the language was designed to encourage cross-platform programming. A standards-compliant and portably written C program can be compiled for a very wide variety of computer platforms and operating systems with few changes to its source code. The language has become available on a very wide range of platforms, from embedded microcontrollers to supercomputers.

The C language also exhibits the following more specific characteristics:


  • There are a small, fixed number of keywords, including a full set of flow of control primitives: for, if, while, switch, and do..while. There is basically one namespace, and user-defined names are not distinguished from keywords by any kind of sigil.

  • There are a large number of arithmetical and logical operators, such as +, +=, ++, &, ~, etc.

  • More than one assignment may be performed in a single statement.

  • Function return values can be ignored when not needed.

  • Typing is static, but weakly enforced: all data has a type, but implicit conversions can be performed; for instance, characters can be used as integers.

  • Declaration syntax mimics usage context. C has no "define" keyword; instead, a statement beginning with the name of a type is taken as a declaration. There is no "function" keyword; instead, a function is indicated by the parentheses of an argument list.

  •     User-defined (typedef) and compound types are possible.

    • Heterogeneous aggregate data types (struct) allow related data elements to be accessed, for example assigned, as a unit.

    • Array indexing is a secondary notion, defined in terms of pointer arithmetic. Unlike structs, arrays are not first-class objects; they cannot be assigned or compared using single built-in operators. There is no "array" keyword, in use or definition; instead, square brackets indicate arrays syntactically, e.g. month.

    • Enumerated types are possible with the enum keyword. They are not tagged, and are freely interconvertible with integers.

    • Strings are not a separate data type, but are conventionally implemented as null-terminated arrays of characters.





  • Low-level access to computer memory is possible by converting machine addresses to typed pointers.

  • Procedures (subroutines not returning values) are a special case of function, with a dummy return type void.

  • Functions may not be defined within the lexical scope of other functions.

  • Function and data pointers permit ad hoc run-time polymorphism.

  • A preprocessor performs macro definition, source code file inclusion, and conditional compilation.

  • There is a basic form of modularity: files can be compiled separately and linked together, with control over which functions and data objects are visible to other files via static and extern attributes.

  • Complex functionality such as I/O, string manipulation, and mathematical functions are consistently delegated to library routines.


C does not include some features found in newer, more modern high-level languages, including:


[polldaddy poll=7153799]

Share this post

About Imman Vel

I am a professional Hacker and I Give you hacked and cracked stuffs for free.My Another WebSite..Follow me on Google+.Find me on Facebook.

17 comments:

  1. I hope these tips have given you some useful information about roofs.
    Nash, who had received a gigantic claim in reward for his
    discovery, may be seen nearly every day busily at
    work. Finding the Venus reef abandoned he went for the Four
    Mile, two miles distant, and discovered about fourteen Chinamen camped
    there.

    ReplyDelete
  2. I found this site very cool and I just wanna thank you for that. I hope you keep up the good work!

    ReplyDelete
  3. I found this weblog very cool and I just wanna thank you for that. I hope you keep up the perfect work!

    ReplyDelete
  4. I just wanna say thnx you for making this website and keep up the good work!

    ReplyDelete
  5. I like the helpful info you provide in your articles. I will bookmark your weblog and check again
    here frequently. I'm quite certain I will learn plenty of new stuff right here! Good luck for the next!

    ReplyDelete
  6. I found this blog very interesting and I just wanna thanks for that. I hope you keep up the good work!

    ReplyDelete
  7. I just want to mention I am beginner to blogs and honestly loved this web site. Most likely I’m planning to bookmark your website . You really come with perfect articles. Thank you for sharing your blog.

    ReplyDelete
  8. It encourages various types of business transactions and partnerships, while
    prohibiting usury interest-based loans and transactions.
    Joseph is a ruler (12:88) and one who interprets dreams and visions (12:
    21), a man of truth (12:46), concealed as a treasure (12:19).
    For more information about Lotus Blossom Consulting, LLC,
    call toll free (877) 881-2685, email consultant@lotusblossomconsulting.

    ReplyDelete
  9. Most of us have the notion that the acting is an
    in-born quality and by practising ourselves we can compete with others.

    In fact, You will begin to enjoy socializing with others. None of this
    information should be your only source when making important
    life decisions.

    ReplyDelete
  10. Rectal bleeding is not seen in external hemorrhoids.
    The purer the extracts are, the more curative
    they are. habitually forcing as a result of bowel
    irregularity.

    ReplyDelete
  11. This will help you ignore the ringing, buzzing, or whatever sound that
    you're hearing. Maskers by themselves, without the therapy that comes with it, can overwhelm the ringing with a different noise. Individual education and coping skills might be necessary to alleviate the anxiety that tinnitus might result in.

    ReplyDelete
  12. They tend to form again on any part of the body, even though they
    are eradicated. When they lead to irritation, a dermatologist should be consulted
    right away. These cells produce melanin which produce the color of the skin, eyes and hair.

    ReplyDelete
  13. Then out of the blue, he or she may want to take a
    break for while so they can do something else.
    You have to know although that there are actually no secret strategies or tactics in accomplishing it.
    The second key is to only play material you do well.

    ReplyDelete
  14. The students should then write down the essential chord sequences determined
    within the given Song. Right-handed people can make
    use of their left for fretting. Take your guitar pick and place it under your
    right thumb.

    ReplyDelete
  15. Hurrah! At last I got a weblog from where
    I be able to really take useful information concerning
    my study and knowledge.

    ReplyDelete
  16. Hi there, after reading this remarkable post i am too delighted
    to share my familiarity here with mates.

    ReplyDelete

About-Privacy Policy-Contact us
Copyright © 2013 IMMAN STUFFS. Blogger Template by BloggerTheme9
Proudly Powered by Blogger.
back to top
Chrome Pointer