Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 1.63 KB

README.md

File metadata and controls

26 lines (24 loc) · 1.63 KB

Programs-on-Pointers

  1. Write a program to scan and display integer using pointer
  2. Write a program to scan and display character using pointer
  3. Write a program to scan and display integer array
  4. Write a program to display numbers at odd indexes only in an integer array
  5. Write a program to find max of integer array
  6. Write a program to count even and odd numbers in integer array
  7. Write a program to accept string from user & find its length
  8. Write a program to accept one string from user , & copy it into another empty string
  9. Write a program to accept one string from user , & copy it into another empty string in reverse order, display the reverse string
  10. Write a program to count number of vowels & number of consonants in the string
  11. Write a program to convert all the characters of string into uppercase & display string
  12. Write a program to accept two strings from user & compare them, display whether they are equal or not
  13. Write a program to accept one string from user & reverse it without using second string
  14. Write a program to accept two strings from user & concatenate them and display concatenated string (e.g. - str1[20]=”hello” str2[10]=”welcome”…………after concatenation str1 should become hellowelcome)
  15. Write a program to accept two strings from user & insert the second string into first after the character specified by user (e.g.- str1[20]=”hello” str2[10]=”welcome”….if user specifies e str1 should become hewelcomello)
  16. Write a program to check whether the given string is palindrome or not, without using second string