Describe the following terms: (i) Keyword (ii) Identifier (iii) Variable (iv) Constant
Show More Ask Question

1 Answer

Answer :

(i) Keyword: Keywords are special words in C programming which have their own predefined meaning. The functions and meanings of these words cannot be altered. Some keywords in C Programming are if, while, for, do, etc.. 

(ii) Identifier: Identifiers are user-defined names of variables, functions and arrays. It comprises of combination of letters and digits. Example int age1; float height_in_feet; Here, age1 is an identifier of integer data type. Similarly height_feet is also an identifier but of floating integer data type, 

(iii) Variable: A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable. Example: add, a, name 

(iv) Constant:

Constants refer to fixed values that the program may not change during its execution. These fixed values are also called literals. Constants can be of any of the basic data types like an integer constant, a floating constant, a character constant, or a string literal. There are enumeration constants as well.

Example:

121

234

3.14 
Like 0 like
Next Page →

Related

Description : What can you say about the following statements? I. XML tags are case-insensitive. II. In JavaScript, identifier names are case-sensitive. III. Cascading Style Sheets (CSS) cannot be used with XML. IV. All well-formed ... IV are false. (3) only I and III are false. (4) only II and IV are false. 

Answer : Answer: Marks to all

Description : Define the following terms: i) Level line ii) Bench Mark iii) Change point iv) Profile levelling

Answer : i) Level line - It is line lying in a level surface; it is therefore, normal to the plumb line at all points. ii) Bench Mark - These are fixed points or marks of known RL determined with ... the centerline of a proposed ditch or road or the centerline of a natural feature such as a stream bed.

Description : Define the following terms: (i) Level surface {ii) Datum line (iii) Reduced level (iv) Axis of telescope

Answer : i)Level Surface : Any surface is parallel to mean spheroidal surface of earth is said to be a level surface. The water surface of still lake is also considered to be level surface. ii) ... an imaginary line passing through the optical Centre of object glass and optical Centre of the eye piece.

Description : Classify the soil according to IS Classification and explain the meaning of following terms i) GW ii) SP iii) ML iv) SM-ML

Answer : As per IS classification soil is broadly divided into three divisions: 1. Coarse grained soil: In these soils, more than half the total material by mass is larger than 75 micron IS ... medium compressibility. iv) SM-ML - boundary classification between coarse grained and fine grained soils.