Tech Mahindra coding Challenge : Prepare Top 10 Coding Questions 

Write a program to return the difference between the count of odd numbers and even numbers.

#10

#9

Write a program to calculate and return the sum of absolute difference between the adjacent number in an array of positive integers from the position entered by the user.

#8

Write a program to find the difference between the elements at odd index and even index.

#7

A Cloth merchant has some pieces of cloth of different lengths. He has an order of curtains of length of 12 feet. He has to find how many curtains can  be made from these pieces. Length of pieces of cloth is recorded in feet.

#6

Print the length of a string without using the string functions.

#5

Write a code to check whether a number is prime or not.

#4

Write a code to add two numbers without using arithmetic operations.

#3

Write a code to print numbers from 1 to 10 without using a loop or recursion in C++.

#2

Write a program to check whether the given number is even or odd

#1

Write a program to print the Fibonacci series.

Top 10 Accenture Interview Questions to crack any Technical Interview