Assignment 1
Assignment 1
1
CHAROTAR UNIVERSITY OF SCIENCE AND TECHNOLOGY
CHANDUBHAI S PATEL INSTITUTE OF TECHNOLOGY
F.Y. B.Tech (CE/IT/EC)
ACADEMIC YEAR: 2017-18
Subject: CE141 - Computer Concepts and Programming
ASSIGNMENTS OF ALL CHAPTERS
(d) strncat()
(e) strstr()
(f) strlen()
(g) strrev()
(h) strcmp()
(i) strncmp()
(j) strchr()
(k) strrchr()
14. Distinguish between: Recursive Function and Iterative Function
15. Distinguish between: Call by Value and Call by Address/Pass by
pointers
16. What is meant by the scope, visibility and longevity of a variable
within a program? Explain various types of storage class specifier.
17. Explain with example how a structure is passed as function
argument.
18. Explain the advantages of using Bit fields in a structure with
example.
19. Explain chain of pointers & write down rules for Pointer
Operations.
20. What is scale factor of a pointer? Explain function returning
pointers & pointers to functions.
21. Explain array of pointers and pointers to structure.
22. Write difference between getc( ), getw( ), getch( ), getchar().
23. What are the functions used for Random access and Sequential
access of file?
24. What is the significance of EOF? What is the purpose of closing
the file during the execution of the program?
25. What is a command line argument? Which command line
arguments are taken by the main function? What do they
represent?