Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Showing posts with the label c++

SBT | DAILY TEST | 14 JUNE RETEST | TECHNICAL MCQ | CODING

TECHNICAL MCQ  1. #include<stdio.h> int main() { int value[4] = {7, 4, 9, 15}; int x=4, y; w…

Matrix Border - Previous & Next

Matrix Border - Previous & Next The program must accept an integer matrix of size RxC and an …

Swap Every Two Vowels

Swap Every Two Vowels   The program must accept a string S as the input. The program must swap eve…

Function GetMatrixFromArrays

function getMatrixFromArrays  The function/method getMatrixFromArrays accepts four arguments M, ar…

C Starter Part -1

**************************  1.C - WU - Add Two Integers (Format Specifier) (Id-5418); ANS: scanf(&q…

C - VERY-EASY - PART004-Sum of odd digits in a number

A number N is passed as the input. The program must print the sum of odd digits in the number N. I…

C - VERY-EASY - PART004-Reverse Order - Print multiples of X from N to M

Two numbers M and N are passed as the input. A number X is also passed as the input. The program m…

C - VERY-EASY - PART004-Print multiples of 15 from M to N

Two numbers M and N are passed as the input. The program must print the numbers divisible by 15 fro…

C - VERY-EASY - PART004-Print first X multiples

A number N is passed as input. Another number X is also passed as input. The program must print fi…

C - VERY-EASY - PART005-Interlace odd / even from A to B.

Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclu…

C - VERY-EASY - PART005-Multiple of N till divisible by X.

Two numbers N and X are passed as input. The program must print the multiples of N (starting from …

C - VERY-EASY - PART005-Largest among N numbers

Number N is passed as the input. The program must accept N integer values and print the largest n…

C – VERY-EASY – PART005-Polygon Perimeter

A polygon is with N sides. The program must accept the length of the N sides and print the perime…

C – VERY-EASY – PART005-Print except multiples of N

Two numbers A and B are passed as input. A number N is also passed as the input. The program must…

C – VERY-EASY – PART005-Reverse Number

Number N is passed as the input. The program must reverse the number and print the reversed numbe…

C – VERY-EASY – PART005-Sum of N numbers

Number N is passed as the input. The program must accept N integer values and print their sum as …

C – VERY-EASY – PART005-Triangle – Smallest Side

The lengths of the sides of a triangle X, Y and Z are passed as the input. The program must print…

C – VERY-EASY – PART005-Digit In Tenth Position

The program must accept a positive integer N and print the digit in the tenth position. Input Form…

C – VERY-EASY – PART005-Primary Color Code

The program must accept a character C and print the output based on the following conditions. If …

Load More That is All