JobsJob TrackerJob alerts

NXP ยท 9 questions

All 9Coding 7Low-Level Design 2
  • Implement atoi function in C with corner casesCoding
  • Create a linked list storing ages for 10 peopleCoding
  • Insert a new node in a Binary Search TreeCoding
  • Merge two sorted linked lists in-placeCoding
  • Print Hello World without a semicolon in C/C++Coding
  • Check if an integer is a power of 2 using bitwise operatorsCoding
  • Construct a data structure to represent a chessboard and piecesLow-Level Design
  • Check if a number is a power of 2Coding
  • Represent a chessboard and pieces using data structuresLow-Level Design
โ† NXP questions
  1. Interview questions
  2. NXP
  3. Create a linked list storing ages for 10 people
Coding

Create a linked list storing ages for 10 people

Filed under NXP

The question

Write a C program to create a structure with an age field and a next pointer, then create a linked list taking input for the ages of 10 people inside a loop.

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

Related NXP questions

  • Implement atoi function in C with corner cases
  • Insert a new node in a Binary Search Tree
  • Print Hello World without a semicolon in C/C++
  • Check if an integer is a power of 2 using bitwise operators
โ† Implement atoi function in C with corner casesInsert a new node in a Binary Search Tree โ†’

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