Associate Technology Trainee

Associate Technology Trainee Interview Questions and Answers

Updated 12 Jul 2025
5d ago

Q. What is the difference between a function definition and a function declaration?

Ans.

Function definition specifies the implementation of a function, while declaration provides the function signature.

  • Function definition includes the function body, while declaration only includes the function signature.

  • Function definition is used to define the behavior of a function, while declaration is used to announce the existence of a function.

  • Function definition can only appear once in a program, while declaration can appear multiple times.

  • Example of function definition: ...read more

3d ago

Q. How do you swap numbers without using a temporary variable?

Ans.

Swapping numbers without using a temporary variable

  • Use addition and subtraction to swap the numbers

  • Example: a = 5, b = 10. a = a + b (15), b = a - b (5), a = a - b (10)

  • Alternatively, use bitwise XOR operation to swap the numbers

  • Example: a = 5, b = 10. a = a ^ b (15), b = a ^ b (5), a = a ^ b (10)

1d ago

Q. Write a programme for Fibonacci series, length of string

Ans.

This program generates a Fibonacci series up to a given length.

  • Use an array to store the Fibonacci series

  • Initialize the first two elements of the array as 0 and 1

  • Use a loop to generate the subsequent elements of the series

  • Stop the loop when the desired length is reached

2d ago

Q. What are data types and pointers

Ans.

Data types are classifications of data that determine the type of values that can be stored and manipulated. Pointers are variables that store memory addresses.

  • Data types include integers, floating-point numbers, characters, and booleans.

  • Pointers are used to store memory addresses of variables or objects.

  • Example: int num = 10; int *ptr = # // ptr stores the memory address of num

Are these interview questions helpful?

Asked in TCS

2d ago

Q. What is an array?

Ans.

An array is a data structure that stores a collection of elements of the same type in a contiguous block of memory.

  • Arrays can be of any data type, including strings.

  • Elements in an array are accessed using an index starting from 0.

  • Arrays have a fixed size, which is determined at the time of declaration.

  • Arrays can be multidimensional, allowing for the storage of data in multiple dimensions.

  • Example: ['apple', 'banana', 'orange']

Associate Technology Trainee Jobs

Infosys Limited logo
PLSQL 3-5 years
Infosys Limited
3.6
Bangalore / Bengaluru
Diverse Lynx logo
Plsql 4-6 years
Diverse Lynx
3.6
Gurgaon / Gurugram
Diverse Lynx logo
PL SQL 2-6 years
Diverse Lynx
3.6
New Delhi

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Hitachi Logo
4.0
 • 84 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Associate Technology Trainee Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits