JAYAWANT SHIKSHAN PRASARAK MANDAL’S

BHIVARABAI SAWANT INSTITUTE OF TECHNOLOGY & RESEARCH, WAGHOLI, PUNE.

 

 

                                                  Department of Electronics and Telecommunication Engineering

 

Sub: Data Structures               Semester: I

Academic Year 2023-24

Assignment No.1

 

Q1) What is pseudo code? Write a pseudo code to find the factorial of number.

Q.2) Write a C function with pointers to arrays for checking whether the given string is a palindrome or not.

Q.3) What is a pointer? What are the advantages of using a pointer? Explain the Pointer declaration and its initialization with an example.

Q.4) Explain the following

i) Call by value     ii) Call by reference

Q.5) Write the following functions in ‘C’

i) STRCOPY() to copy a string to another string using an array.

ii) STRLENGTH() to find the length of the string using an array.

Q.6) Explain bitwise operators with examples.

 

:

 

Prof. Jayshree Y. Suryawanshi                                                                                 Dr. Y. S. Angal

      Subject Teacher                                                      `                                                       HOD