JobsJob TrackerJob alerts

Tata Digital ยท 8 questions

All 8Coding 3
  • Find the character with maximum frequency in a stringCoding
  • Normalization and SQL commands
  • Deadlock concepts
  • Find the most frequently occurring character in a stringCoding
  • Quick sort algorithmCoding
  • Output of '2'+'2'-'2' and prefix expressions
  • Normalization and difference between DROP and DELETE
  • Deadlock and its necessary conditions
โ† Tata Digital questions
  1. Interview questions
  2. Tata Digital
  3. Output of '2'+'2'-'2' and prefix expressions

Output of '2'+'2'-'2' and prefix expressions

Filed under Tata Digital

The question

Determine the output of specific code expressions, such as prefix/postfix expressions and JavaScript type coercion like console.log('2'+'2'-'2').

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

Related Tata Digital questions

  • Find the character with maximum frequency in a string
  • Normalization and SQL commands
  • Find the most frequently occurring character in a string
  • Normalization and difference between DROP and DELETE
  • Deadlock and its necessary conditions
โ† Quick sort algorithmNormalization and difference between DROP and DELETE โ†’

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