1. Gyanastra
  2. Data Structures
  3. Pointers and Strings

Data Structures

Pointers and Strings: lessons and notes

9 lessons on pointers and strings for GATE CSE, ISRO and UGC NET. Read the first two lessons free, right here; the rest of the chapter is for signed-in learners. Each lesson shows the exam years that asked it and ends with practice questions.

9 lessons2 simulators
  1. 1
    String Library Functions: strcat and strncat5 min read · Asked in past papers: GATE 2015, 2013, 1995; ISRO 2020; UGC NET 2005.
    Read free
  2. 2
    String Comparison with strcmp and strncmp4 min read · Asked in past papers: GATE 2017.
    Read free
  3. 3
    String Copy with strcpy and strncpy5 min read · Asked in past papers: GATE 2025.
    Free account
  4. 4
    Searching Characters with strchr and strrchr4 min read · Asked in past papers: ISRO 2018.
    Free account
  5. 5
    Reversing a String Using Two Indices5 min read · Asked in past papers: GATE 2008, 2005, 2004, 1989; UGC NET 2018, 2008, 2005.
    Pass
  6. 6
    Converting an Integer to a String (itoa)7 min read · Asked in past papers: GATE 2025, 2004.
    Pass
  7. 7Pass
  8. 8
    Removing All Occurrences of a Character from a String (squeeze)7 min read · Asked in past papers: GATE 2013.
    Pass
  9. 9Pass