Pointer to an array in c

Pointer to an array in c It is most likely that you would not understand this chapter until you are through the chapter related to Pointers in C. So assuming you have bit understanding on pointers in C programming language, let us start: An array name is a constant...

Return array from a function in c

Return array from a function in c C programming language does not allow to return an entire array as an argument to a function. However, you can return a pointer to an array by specifying the array’s name without an index. You will study pointer in next chapter...

Passing arrays to functions in c

Passing arrays to functions in c If you want to pass a single-dimension array as an argument in a function, you would have to declare function formal parameter in one of following three ways and all three declaration methods produce similar results because each tells...

arrays in c

arrays in c C programming language provides a data structure called the array, which can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a...

Multi-dimensional arrays in c

Multi-dimensional arrays in c C programming language allows multidimensional arrays. Here is the general form of a multidimensional array declaration: type name[size1][size2]…[sizeN]; For example, the following declaration creates a three dimensional 5 . 10 . 4...

Projection of solids

Projection of solids SAMPLE PROBLEM 1 :A square pyramid, 40 mm base sides and axis 60 mm long, has a triangular face on the ground and the vertical plane containing the axis makes an angle of 450 with the VP. Draw its projections. Take apex nearer to VP. Steps for...