Cognizant1 Min Read LetuscrackonJune 11, 2024 Function matrixTopView – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function printCornerElements – CTS PATTERN You are required to fix the logical error in the given code. You can click on Run button anytime to check the compilation/execution status of…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function isPalindrome – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function matrixTranspose – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
C Cognizant1 Min Read LetuscrackonJune 11, 2024 Function multiplyNum – CTS PATTERN You are required to correct the syntax of the given code without changing its logic. You can click on Compile & Run anytime to check the…
C1 Min Read LetuscrackonJune 11, 2024 C – Function – Replace with Largest Number Given an integer array of size N as input, the program must replace every element of the array with the largest number that can be formed by…
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…