JobsJob TrackerJob alerts

APTIV ยท 14 questions

All 14Coding 9Low-Level Design 3Behavioral 2
  • Copy constructor and reference usage in C++Low-Level Design
  • Explanation of Destructor Overloading impossibilityLow-Level Design
  • String Reversal ProgramCoding
  • Swap Two Numbers without a Third VariableCoding
  • LRU CacheCoding
  • Bit manipulationCoding
  • Microprocessor vs Microcontroller and C vs Embedded CLow-Level Design
  • Store parsed input into a text file using file operationsCoding
  • Remove duplicate elements from an arrayCoding
  • Swap the nibble in C++Coding
  • Teamwork preference and handling team argumentsBehavioral
  • Programming and Embedded ConceptsCoding
  • Armstrong Number and PuzzlesCoding
  • Scenario-based HR questionsBehavioral
โ† APTIV questions
  1. Interview questions
  2. APTIV
  3. Store parsed input into a text file using file operations
Coding

Store parsed input into a text file using file operations

Filed under APTIV

The question

Write a program that takes a line of input and using file operations stores specific parts (like name and department) in a text file, creating the file if it does not exist.

No write-up yet. Related questions below have one.

Related APTIV questions

  • String Reversal Program
  • Bit manipulation
  • Swap the nibble in C++
  • Programming and Embedded Concepts
  • Armstrong Number and Puzzles
โ† Microprocessor vs Microcontroller and C vs Embedded CRemove duplicate elements from an array โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.