TCS Company Programming Arrays

A pointer variable can be

1. Changed within function.
2. Assigned an integer value.
3. None of these
4. Passed to a function as argument.

Read Solution (Total 5)

TCS Other Question

an ant smartly moves across a staircase taking the shortest distance. calculate the distance it takes to reach top to B from A given that staircase consist of 2 steps. it also known that the length,breadth and height is 6cm,2cm and 1cm respectively Which of the following uses structure?
1. Linked Lists
2. Array of structures
3. All of these
4. Binary Tree