web analytics

April 2015

Write down about the declaration of one dimensional array.

Declaration of one dimensional array : Like any other variable, arrays must be declared before they are used. The general form of array declaration is,                    type variable_name[size]; The type specifies the type of elements that will be contained in the array, such as int, float etc. The size indicates the maximum number of element that …

Write down about the declaration of one dimensional array. Read More »

Write down about the three types of arrays.

One dimensional array:  A list of items can be given one variable name using only one subscript and such a variable is called a one dimensional array.               Example : int number[5]; Here in the example, 5 value of the variable number can be kept under the single variable number. Two dimensional array:  When by using an array …

Write down about the three types of arrays. Read More »

What do you mean by arrays? Write different types of arrays.

Array : Array is a derived data type. When it is necessary to store more than one value under a variable, user can make use of array. An array is a fixed-size sequence collection of elements of the same data type. It is simply a grouping of like-data type.               Different types of arrays : There are three …

What do you mean by arrays? Write different types of arrays. Read More »

What is operating system (Definition)

Operating system: An operating system is a program that controls the entire operation of a computer system. All input/output functions are channeled through the operating system. The operating system which is the interface between the hardware and the user, handles the execution of user programs. What is operating system? Describe operating systems in brief.

What is #define directive?

#define directive: A #define is a preprocessor compiler directive and not a statement. #define should not end with a semicolon. Symbolic constants are generally written in uppercase so that they can be easily distinguished from the lowercase variable names. #define instructions are usually placed at the beginning before the main() function.

Define preprocessor, function, compile time, run time.

Preprocessor: It is a program that process the source code before it passes through the compiler. Function: A function is a subroutine that may include one or more statements designed to perform specific tasks. For C programming functions are as building blocks. Compile time: Compile time refers to the event that occur during the compilation process. Run time: Run …

Define preprocessor, function, compile time, run time. Read More »

Scroll to Top