Complete the given series.
D23, ______, L15, P11, T7, X3For alphabet: Increase by + 4
D + 4 → H + 4 → L + 4 → P + 4 → T + 4 → X
For Number: Decrease number by - 4
23 – 4 → 19 – 4 → 15 – 4 → 11 – 4 → 7 – 4 → 3
Hence, “H19” will complete the series.Complete the given series.
D23, ______, L15, P11, T7, X3For alphabet: Increase by + 4
D + 4 → H + 4 → L + 4 → P + 4 → T + 4 → X
For Number: Decrease number by - 4
23 – 4 → 19 – 4 → 15 – 4 → 11 – 4 → 7 – 4 → 3
Hence, “H19” will complete the series.No discussions yet. Be the first to start!
You must be logged in to participate in the discussion.
login Login to DiscussA matter is something that occupies space, has shape, mass and volume. It can be categorized in the following categories:
The correct answer is Jhulan Goswami.
Key Points
Additional Information
If a mirror is placed on the line AB, then which of the answer figures is the correct image of the given figure?
Problem Figure
The image is flipped horizontally.
Hence, option 4 is the mirror image of the given image.
Match the following:
|
|
List I |
|
List II |
|
I) |
Compile-time polymorphism |
A) |
Function overriding |
|
II) |
Run-time polymorphism |
B) |
Access modifier |
|
III) |
Protected |
C) |
Function overloading |
Important Point
Compile-time polymorphism
It means binding is occurring at compile time It can be achieved through static binding. If a class has multiple methods having the same name but different in parameters, it is known as Method Overloading.
Run time polymorphism
At run time we came to know which method is going to invoke It can be achieved through dynamic binding. If subclass (child class) has the same method as declared in the parent class, it is known as method overriding
Access Modifiers
It specifies the accessibility or scope of a field, method, constructor, or class. There are three types of Access modifiers
What is the output of the below given code?
int m = 23;
m = m% (m * 3);
printf("%d",m);% → modulus operator
printf() function
The printf() function is used for output. It prints the given statement to the console.
Analysis:-
m = m%(m*3)
Calculation:
m = 23 mod (23 × 3)
m = 23 mod 69
m = 23
Note:
Assignment operator associativity is right to left.
Printf statement will print the value of m as 23. (Output would be 23).
Confusion PointsHere 23 mod 69 means. 23 is divided by 69. That's why 23 is the answer. For better clarity, you can run the above program and check.
Additional Information
|
Operator |
Description |
Associativity |
|
( ) [ ] . → ++ -- |
Parentheses or function call Brackets or array subscript Dot or Member selection operator Arrow operator Postfix increment/ decrement |
Left to right |
|
++ -- + - ! ~ (type) * & sizeof |
Prefix increment/ decrement Unary plus and minus Not operator and bitwise complement Type cast Indirection or dereference operator Address of operator Determine size in bytes |
Right to left |
|
*/% |
Multiplication, division and modulus |
Left to right |
|
+ - |
Addition and subtraction |
Left to right |
|
≪ ≫ |
Bitwise left shift and right shift |
Left to right |
|
< <= > >= |
Relational less than/less then equal to Relational greater than/greater than or equal to |
Left to right |
|
== != |
Relational equal to or not equal to |
Left to right |
|
&& |
Bitwise AND |
Left to right |
|
^ |
Bitwise exclusive OR |
Left to right |
|
I |
Bitwise inclusive OR |
Left to right |
|
&& |
Logical AND |
Left to right |
|
I I |
Logical OR |
Left to Right |
|
? : |
Ternary operator |
Left to right |
|
= += -= *= /= %= &= ^= I= |
Assignment operator Additional/subtraction assignment Multiplication/division assignment Modulus and bitwise assignment Bitwise exclusive/inclusive OR assignment |
Right to left |
|
, |
Comma operator |
Left to right |