Today's topic

Array

String

 

Questions based on array

  • Find reverse of an array

  • Write a program to put even and odd element of an array into two seperated array

     

String

String is basically an array of characters

  • the last character of a string is null character('\0')
  • when using string functions you have to include <string.h> library

Questions based on string

  • Write a program to take string as a input  and print that string?
  • Find the length of a string?
  • Find the frequency of characters in a string?

  • Copy a string to another string?

     

deck

By sandeep chauhan