C1 Min Read LetuscrackonJune 11, 2024 C – Function – Reverse In Groups Given an array of integers of size N and size of group R as input, the program must reverse and print every R elements in the array. Please…
C1 Min Read LetuscrackonJune 10, 2024 C – Function – Average An array of N integers is given as input. The program must print the average with precision up to two decimal places. Fill in the missing…
C1 Min Read LetuscrackonJune 10, 2024 C – Function Pointer – Print OddEven Three integers A, B and C are passed as input. If A is 0 the program must print the odd numbers from B to C. If A is 1 the program must print…
C1 Min Read LetuscrackonJune 8, 2024 function printTimeInSeconds with Varargs The program must accept 4 times T1, T2, T3 and T4 in 24-hour format as the input. The program must print…
C1 Min Read LetuscrackonJune 8, 2024 Function validateDate The function/method validateDate accepts an argument dateStr representing a string value which contains a date in the format…
C1 Min Read LetuscrackonJune 8, 2024 function concatBinary The function/method concatBinary accepts two arguments num1 and num2 representing two integer values. The…
C1 Min Read LetuscrackonJune 8, 2024 function findNextWordPosition The function/method findNextWordPosition accepts an argument str. The string str contains multiple words. The…
C2 Min Read LetuscrackonJune 8, 2024 function getStringFromRows The function/method getStringFromRows accepts five arguments – R, C, matrix, X and Y. The first…
C1 Min Read LetuscrackonJune 8, 2024 Function findMissingInteger The function/method findMissingInteger accepts three arguments R, C and matrix. The integers R and C represent…