Basic Terms of C Programming

Tokens, Semicolon, Comments, Identifiers, Keywords, White space

Basic Terms of C Programming

Tokens in C:

A C program consists of various tokens and a token is either a keyword , an identifier, a constant, a string literal, or a symbol.

for ex.: The following C statement consist of 5 tokens:

printf(“hello world!”);

The including tokens are:

  1.  printf
  2.  (
  3.  “hello world”
  4.  )
  5.  ;

Basic Terms of C Programming, Tokens,  Keywords, Semicolons, Computer tech study

Semicolon:

It is used to terminate statement.It indicate the end of 1 logical entity.

Comments:

Comments are like helping text in your C program and they are ignored by compiler.

/*my first program in C*/

Identifiers:

A C identifiers is a name used to identify a variable, function, or any other user-defined item. An identifiers start with a letter A to Z, a t z, an underscore and digits (0 to 9).

C does not allow punctuation characters, such as @,$ and % within identifiers. C is case-sensitive programming language.

example:- mohd, zara, abc, move_name, a_123, _temp, j, a23b9.

Keywords:

Basic Terms of C Programming, Tokens,  Keywords, Semicolons, Computer tech study

keywords are the reserved word may not be used as constants or variables or any other identifiers name. There are 32 keywords in C.

example:- auto    if     else if      for     do      else     case    break      while     switch    etc……

White space:

A line containing only white-space, possibly with a comment, is known as blank line and a compiler totally ignore it.

example:-

                       Basic Terms of C Programming, Tokens,  Keywords, Semicolons, Computer tech study

Subscribe our channel for more computer study video

Basic Terms of C Programming, Tokens,  Keywords, Semicolons, Computer tech study

Like Facebook Page

Circle, 2P circle, 3P circle, TTR circle

Autocad, Circle, 2P, 3P, TTR

Circle

 Draws a circle by letting the user specify the center point, then dictating the circle’s size by entering a value for either the circle’s radius or its diameter.

Another option to creating a circle with this command is to specify three points on the circle’s circumference, two end-points of its diameter, or its radius along with two other lines or circles to which the new circle will be tangential.

( Shortcut = C )

C                                                          =        ↵

Specify center point                             =  0,0 ↵

Specify radius or [Diameter]                =  10 ↵

Autocad, Circle, 2P circle, 3P circle, TTR circle

C                                                          =        ↵

Specify center point                             =  0,0 ↵

Specify radius or [Diameter]                =    D ↵

Specify diameter                                  =     10 ↵

Autocad, Circle, 2P circle, 3P circle, TTR circle

2P Circle

C                                                                                      = ↵

Specify center point or [3P/2P/Ttr (tan tan radius)]         = 2P ↵

Specify first end point diameter                                       = 0,0 ↵

Specify second end point diameter                                 = 5,8 ↵

Autocad, Circle, 2P circle, 3P circle, TTR circle

3P Circle

C                                                                                                = ↵

Specify center point or [3P/2P/Ttr (tan tan radius)]                   = 3P ↵

Specify first point                                                                       = 0,0 ↵

Specify second point                                                                 =3,5 ↵

Specify third point                                                                     =4,2 ↵

Autocad, Circle, 2P circle, 3P circle, TTR circle

Ttr (tan tan radius)

C                                                                                     = ↵

Specify center point or [3P/2P/Ttr (tan tan radius)]        = T ↵

Specify point on object for first tangent                          = Select 1st Line ↵

Specify point on object for second tangent                    = Select 2nd Line ↵

Specify radius                                                                 = 3 ↵

Autocad, Circle, 2P circle, 3P circle, TTR circle

Video

 

Subscribe our channel for more computer study video

Autocad, Circle, 2P circle, 3P circle, TTR circle

Like Facebook Page