TCS Ninja Technical Questions and Answers 2019

TCS Ninja Technical Questions and Answers(Updated)

TCS Ninja technical questions answers is available here.Also you will find tcs ninja technical questions with solutions 2019 and tcs ninja technical test paper with solutions.

Tcs ninja technical Questions and Answers with Most Repeated Tcs ninja  Programming Questions with Solution is available here in our Tch ninja technical  Section.

Go to C MCQ Dashboard to prepare for Technical Section of TCS Ninja

Get all the questions asked Today in TCS here – 

TCS Ninja Live Questions Dashboard

TCS Ninja Technical Questions and Answers 2019 - 2020

PrepSter Study Material

In Online class you will get preparation paid materials access also, but if you just want materials then you can buy the ones below –

If you want to Register for Online Class Register here.

  1. Eesha was in a wonderland where she saw a treasure trove of seven items of various items (in lakhs) and weights (in kgs) as per the table given below.

Value – Weight

12                4

10              6

8               5

11             7

14            3

5             10

5               12

She wanted to bring back maximum value of items but she was not able to carry more than 10 kgs.  Using dynamic programing, what is the maximum value of of the items that she could carry back with her.

Answer: 26

2. In c language, if a function return type is not explicitly defined then it defaults to what data type?

Answer: Int

3. Which of the following syntax is correct for command -line arguments?

a. int main (char *argv[], int argc)

b. none of the three options

c. int main ()

{

int argv, char *argc[];

}

d. int main(int var, char *varg[])

Answer: int main (int var,char *varg[])

Prepare Better for Placement Papers