C-Programming

Important Questions from Strings

  1. Define string. How elements of the string can be accessed, explain with examples.
  2. What is the role of string handling in C? Where we use strcat( ), strlen( ) and strcmp( )?
  3. Explain the various string manipulation functions with example.
  4. What is array of string? Can array of strings be treated as two dimensional array? If so illustrate with at least one example.
  5. What is the difference between array of integer and string?
  6. Describe the limitations of getchar( ) and scanf( ) function for reading the string.
  7. What are the advantages of using the string instead of using the set of characters?
  8. List out the various character manipulation functions along with an example.

 

String (Prev Lesson)
(Next Lesson) DYNAMIC MEMORY ALLOCATION
Back to C-Programming

No Comments

Post a Reply

Teacher
Bhim Gautam
Role : Lecturer
Read More
error: Content is protected !!