13.07.2015 Views

1st year EE - Centurion University

1st year EE - Centurion University

1st year EE - Centurion University

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Experiment no.6a) Write a C program to construct a pyramid of numbers.b) Write a C program to count the lines, words and characters in a given text.Experiment no.7Write a program to pass a 2-D array to a function and returning the same array from function.Experiment no.8Suppose 7 names are stored in an array of pointers names[] as shown belowchar *names[]= { “ santosh”,”amol”,”prakash”,”kishore”,”rahul”,”hemant”,”nilima”};Write a program to arrange these names in alphabetical order.Experiment no.9a) Write a C program that uses functions to perform the operations:I. Reading a complex number.II. Writing a complex number.III. Addition of two complex numbers.IV. Multiplication of two complex numbers.(NOTE: represent complex number using a structure)Experiment no.10a) Write a C program which copies one file to another.b) Write a C program to reverse the first n character in a file.(NOTE: The file name and n are specified on the command line)BLHU 1111 LIFE SKILLS DEVELOPMENT LABORATORY (0-0-3) CREDITS:1Common to all Branches. Will be conducted from 1 st to 6 th Semesters for all branches. No credits addedbut the students are required to get qualified as prescribed by the T & P cell for being able to andconsidered for placement. The exercises to be carried out shall be decided as per the industry’srequirements from time to time.2 ND SEMESTER13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!