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…
C2 Min Read LetuscrackonJune 8, 2024 Function mergeEveryTwoIntegers The function/method mergeEveryTwoIntegers accepts two arguments – SIZE and arr. The integer SIZE represents the size of the integer…
C1 Min Read LetuscrackonJune 8, 2024 Function getPositionDigitsSum The function/method getPositionDigitsSum accepts two arguments SIZE and arr. The integer SIZE represents the size of the integer array arr.…