Skip to main content

Posts

What is Increament or decrement operator?

They are (++) increment operator in c. (--)decrement operator in c. These two operators are called unary operator as they require only one operand.The operand should be a variable not a constant. * (++) operator :- Add one to the value of operand. *(--) operator :- substract one to the value of operand. # These operators are used in two form 1 pastfix form 2 prefix form          

What is OPERATOR?

An operator is a special symbol that tells the computer to perform certain mathematics or logical maniculation on data stored in variables.The variables that are operated are turned as operands. C operates can be classified in to following categories :- 1 Arithmetic operator 2 Relational operator 3 Logical             " 4 Assignment        " 5 Increments or decrement operator 6 Conditional operator 7 Bit wise operator 8 Special operator              

What is CAD/CAM?

CAD stand for Computer aided draughting and design.It enable us to draw polygon,ellipse,multiple parallel lines and multiple parallel curves.Companies uses CAD to produce better design more quickly and cheaply.In CAD we can make changes immediately and print a new drawing in minutes or we can transmit it all over the world using e mail service instantly.CAD enable companies to produce better design that are almost impossible produce manually. CAD is linked with CAM (computer aided manufacturing ) to produce computerise instructions for computerise machine control. Example :- lathe,mills,machining centre,welding equipment,automated assemblies.                  

4.What is variable?

A variable is an entity whose value can change during program execution.A variable is symbolic representation of address of the memory stress were values can be stored,excesed and changed. Each variable has a name and datatype.All variable must have their type indicated,so that the compiler can record all the necessary information about them,generate appropriate code during allocating required space in memory. # Rules for construction variable name:- 1 It should be a combination of alphabet,digits or under score. 2 First character must be an alphabet 3 Variable name should not be matching with reserve word in c Example:- Employ - name                         "            age                     Item- 4 etc ➡ A variable declaration in c is done as-type specified,separed list of separable  Ex- int,I,g,k        ...

3. What is Constant?

A constant is an entity with fixed value that doesn't change.It can be stored at a location in memory of the computer and can be reference through that memory addressed. ➡ Constant are fixed value that remain unchanged during the execution of programme and are used in assignment statement constant can be stored in variables. ✖ There are 5 basic types of constant in c 1 Integer constant 2 Real constant 3 character constant 4 String constant 5 Logical constant  

* Component of 'c' language

1 character set 2 Data type  3 Constant 4 Variable  5 Keywords  6 Grammar (syntax and semantic) 1 Character set :- All symbols used to write in c language.they are :-  a. Letter  (a-z,A-Z) B.Digits  (0-9) C.symbol  (*,&,+,-) D.White space :-Black space, horizontal tab,carriage return, new line etc.... 2 Data type :-Datatype is defining and attributes to the variable.It defining the set of legal that the variable can store.the basic data type int,char,float,etc.....    

What is computer programming/language?

C is a structured programming language.c language is developed in 1972 at bell laboratories by a system programming named Dennis rithcie. ➡ c comes between low level language and high level language ✖ Advantages of c programming language 1 c is a machine independent and highly portable language. 2 It is easy to learn and it has only 32 keywords. 3 It has comprehensive set of operator to tackle business as well as scientific application with ease. 4 All graphics programming as well as system programming can be implemented using c. 5 User can create their own function/facility and add them in c laboratories to perform a variety of tasks. 6 It has large libraries function. 7 C operates on the same datatype as the computer,so the code need very little data conversion.