Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Coding Questions Asked in TCS

    21 / 25

    Write a program to sort an array into two halves, one half ascending and second half descending.

    Input : NA


    Output : NA

    View Answer |  Array |  Practice Program | Add to Reading List To Reading List | Asked In TCSGlobal Edge |  Experience, Fresher
    Please Login to view the answer

    22 / 25

    Write a c program to convert binary to decimal using command line arguments?

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    23 / 25

    Write a C program to find the area of a triangle given the base and the corresponding height. The values base and height are both positive integers passed to the program as the first and second command line parameters respectively.

    Note: Write the output to stdout formatted as a floating point number rounded to EXACTLY 2 decimal precision WITHOUT any other additional text. Scientific format(such as 1.00E+5) should NOT be used while printing the output. You may assume that the inputs will be such that the output will not exceed the largest possible real number that can be stored in a float type variable.

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    24 / 25

    Write a c program to convert decimal to binary using command line arguments?

    Input : 8723


    Output :

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

    25 / 25

    Write a C program to find the sum of N prime number using Command Line Arguments?

    Input : NA


    Output : NA

    View Answer |  Basics |  Practice Program | Add to Reading List To Reading List | Asked In TCS |  Fresher
    Please Login to view the answer

    Tags:TCS

TCS Coding Section test will be based on Command Line Argument, Practice all the above programs Asked in Preivous TCS drives 2017-2018. TCS Placement Coding Questions, programming Test of Tata Consultancy Service, TCS Programming Round Questions, TCS Coding Questions in the Programming Section of the test,c programs asked in TCS, c programs for TCS, TCS asked c programs in interview, TCS Coding Test Papers questions with Answers, TCS Previous coding round Questions with Answers, TCS command line argument questions, TCS command line arguments, TCS command line arguments program, TCS command line arguments programs, TCS command line progra, questions asked in tcs in coding round