dshivhare On Fast Track

Practice & Preach Innovation

  • Home
  • About
  • Contact

2

Nov

Identifier in C

Posted by admin  Published in C

These are the program elements such as variable name, function name, enumerator name, structure name, union name, etc..

Naming convention of Identifier:-

  1. It always begins with any alphabet or underscore.
  2. It is any combination of alphabet, digit & underscore.
  3. Variable length is depend on the compiler.
  4. No special symbol & no space are allowed except underscore.
no comment

1

Nov

Keyword in C

Posted by admin  Published in C

These all are reversed word whose medium are predefined or precompiled means it has the special meaning & use to form a skeleton of the program.

The programmer can’t inter-fear in these words in the same way as you, in, an.

Keyword always written in the small letter.

There are 34 keywords in C which are as follows:-

  1. void
  2. char
  3. int
  4. short
  5. long
  6. float
  7. double
  8. signed
  9. unsigned
  10. for
  11. while
  12. do
  13. if
  14. else
  15. switch
  16. case
  17. default
  18. auto
  19. static
  20. extern
  21. register
  22. enum
  23. struct
  24. union
  25. sizeof
  26. const
  27. volatile
  28. break
  29. continue
  30. goto
  31. return
  32. near
  33. far
  34. huge

From 1 to 9 are used as a string data type(primary data type)

From 10 to 12 are used for loop control structure

From 13 to 14 are used for selection control statement

From 15 to 17 are used for case control structure

From 18 to 21 are used for storage class

From 22 to 24 are user defined data type

From 25 to 32 are miscellaneous

From 33 to 34 are pointers (additional keyword)

3 comments

1

Nov

TOKENS in C

Posted by admin  Published in C

Small indivisual units of a program is called Tokens.

There are 6 types of Tokens in C which are as follows:-

  1. Keyword
  2. Identifier
  3. Constants/Literals
  4. Variable
  5. Operator
  6. Punctuator
1 comment

1

Nov

History of C language

Posted by admin  Published in C

C language is

  • developed by:- Dennis M. Ritche
  • developed at:- AT & T(American Telegraph & Telecommunication) Bell Lab, Marci Hill, New Jersey, USA
  • developed on:- UNIX DEC PDP 11 Operating System
  • developed in:- late 1972
  • also called Structured Programming Language.

Why C language name is C?

In 1970 B language is developed by Ken Thomson. For making the continuation(B, C, …) its name is C (nothing more).

no comment

Search

About

This is Deepak Kumar Shivhare.

B.S. (Bachelor of Science) in Computer Science

Right now I am working with Fast Stream Technology as a Consultant.
...more info

Twitter Updates

Follow me on Twitter!

Pownce Updates

Join me on Pownce!

Facebook Profile

this is Deepak's profile

Categories

  • Ajax (1)
  • C (4)
  • General (2)
  • scripting (1)
  • Uncategorized (1)
  • web (2)
  • xml (1)

Archives

  • July 2008 (1)
  • November 2007 (6)
  • October 2007 (1)

Blogroll

  • 7lakesranch - 7lakesranch
  • Ajuby Blog
  • Apptility Blog
  • Brij Singh’s(Apptility CTO) Blog
  • Hosting Site
  • Mayank’s Space - Test Engg.
  • Moses On Wordpress - BDM
  • ROR Testimonials
  • sevenlakesranch

Pages

  • About
  • Contact

Meta

  • Login
  • Main Entries Rss
  • Comments Rss
September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930  

My Profiles

My profile on CodeMunch
My public goals on BumpedInto


My Widgets on SafeWidget


My profile on LinkedIn
View Deepak Kumar Shivhare's profile on LinkedIn

My bookmarks on Delicious


My profile on Orkut

Extra

Download Open Source ROR
Project i.e., Ajuby
Download Ajuby

Recent Post

  • read .xml in html page
  • 3-Tier Application Vs 2-Tier Application
  • What is scripting language?
  • Identifier in C
  • Keyword in C
  • TOKENS in C
  • History of C language
  • Hello world!

Recent Comments

  • fjbnheipsssf in Keyword in C
  • Mayank in Keyword in C
  • admin in Hello world!
  • Brij in Hello world!
  • admin in Hello world!
  • Anand Kushwah in Hello world!
  • Anand Kushwah in Hello world!
  • vikky in TOKENS in C
  • mike in Keyword in C
© 2007 dshivhare On Fast Track
Theme by Wired Studios, courtesy of Corvette Garage
Valid XHTML | Valid CSS 3.0
Powered by Wordpress