by admin | May 23, 2015 | cse
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...
by admin | May 23, 2015 | cse
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...
by admin | May 23, 2015 | cse
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...
by admin | May 23, 2015 | sem1
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...
by admin | May 23, 2015 | cse
Managing Input and Output operations in c – IO is not part of C syntax – Several functions becomes standard for IO are called Standard IO Library in C – The printf and scanf are library functions – The stdio.h file and its inclusion in the...
by admin | May 23, 2015 | cse
compilation and linking process in c Include file Header file Your source code can use some functions and variables for which the source code is not in the file. For instance it might use printf to write to the screen. The way this is handled is to have a file or...