structure of a c program

structure of a c program Before we study basic building blocks of the C programming language, let us look a bare minimum C program structure so that we can take it as a reference in upcoming chapters. C Hello World Example A C program basically consists of the...

Projection of Prism

Projection of Prism Sample Problem 1: A triangular prism of side of base 30 mm and height 45 mm rests with its base on HP such that one of its rectangular faces is parallel to and 40 mm farther away from VP. Draw its projections. Steps for projection of prism: 1....

introduction to c programming

introduction to c programming C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian...

Mathematical Analysis of recursive Algorithm

Mathematical Analysis of recursive Algorithm i) Decide the input size based on the parameter n. ii) Identify the algorithm’s basic operation. iii) Check how many times the basic operation is executed and if it depends on the input size n then identify the...

Asymptotic Notations

Asymptotic Notations Asymptotic Notations are methods to estimate and represent efficiency of the algorithm using simple formula To choose the best algorithm we need to check the efficiency of each algorithm. The efficiency of the algorithm can be measured by...

Construction of Diagonal and Vernier scales

Construction of Diagonal and Vernier scales SCALES Usually the word scale is used for an instrument used for drawing straight lines. But actually in Engineer’s language scale means the proportion or ratio between the dimensions adopted for the drawing and the...