Join Regular Classroom : Visit ClassroomTech

TCS NQT Coding Questions

TCS NQT – Coding Question 15 – Codewindow.in

Hot Topics TCS NQT – Coding Question 15 Question 1 Calculate length of hypotenuse of right-angled triangle.  Answer #include <stdio.h> #include <math.h> #include <stdlib.h> int main(int argc, char *argv[]) { if (argc < 2) { printf("please use "prg_name value1 value2 … "n"); return -1; } int a, b, side1, side2, side3; a = atoi(argv[1]); b […]

TCS NQT – Coding Question 15 – Codewindow.in Read More »