Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

# Coding Questions Asked in TCS

11 / 25

Write a program using command line argument to input a string and print the string in reversed order..

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

12 / 25

Write a program using command line arguments to input a number and find that number is even or odd.

INPUT: 14
OUTPUT: Even

INPUT: 13
OUTPUT: Odd

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

13 / 25

Write a program using command line arguments to input two number and find the GCD/HCF of the number.

Condition:
If the entered number is less than 2 print the message and exit.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

14 / 25

Write a program using command line arguments to input two number and find the LCM of the number.

Condition:
If the entered number is less than 2 print the message and exit.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

15 / 25

Write a program using command line argument to input one number and print the Factorial of the number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

16 / 25

Write a C program using command line arguments which will take numbers as input and Find the average of the numbers.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

17 / 25

Write a program in C using command line argument to input one number and print the square root of the number without using sqrt().

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

18 / 25

Write a program in C using command line argument to print Your Name Using Command Line Argument.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

19 / 25

Write a program in C using command line argument to input one number and print Sum of digits of number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

20 / 25

Write a program in C using command line argument, take input as diameter of circle and calculate the area of circle.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

TCS c programing questions, TCS c programming questions, programs asked in tcs coding round, TCS c programs, basic c programs for TCS interview, coding question in TCS, coding questions asked in TCS, coding questions for TCS, coding questions in TCS, command line argument questions for TCS, command line arguments for TCS, command line arguments in c for TCS, command line arguments questions for TCS, command line arguments questions for TCS on google, command line arguments questions for TCS on google, TCS programming questions with answers, TCS technical programming questions, TCS programming test, TCS programming test questions, TCS programs, coding test at tcs interview

+ Contribute Programming Qs.

Baig
1