Code Skiller logoCB Logo
Logo LearnLearnLogo PracticePracticeLogo HireHireLogo IDEIDE

Fundamentals - II

If Block

The "if" block is a conditional statement in programming that allows you to execute a block of code based on a specified condition. It provides a way to control the flow of execution in your program by selectively executing code based on whether a con...

Read more

While Block

In C++, a "while" loop is a control flow statement that repeatedly executes a block of code as long as a certain condition remains true. It is used when you want to iterate over a block of code an indefinite number of times until the condition becomes...

Read more

Size of ( ) Operator

The ‘sizeof()’ operator is a compile-time unary operator in C++ that allows you to determine the size in bytes of a data type or a variable. It returns the size of the operand in terms of the number of bytes.

When to use:

You can use the ‘sizeof...

Read more

Constants

In C++, constants are values that cannot be modified or changed during the execution of a program. They are used to represent fixed values that should remain constant throughout the program's execution. There are different ways to define constants in ...

Read more

Typecasting

Type conversion, also known as type casting, refers to the process of converting one data type to another. In C++, type conversion can occur implicitly or explicitly.

1. Implicit Type Conversion:

Implicit type conversion, also known as automatic...

Read more

Some more Operators

Arithmetic - [ ++ , -- ]

Arithmetic operators in C++ are used for performing mathematical calculations. The ‘++’ operator increments the value of a variable by 1, and the ‘--’ operator decrements the value by 1. These operators can be used in bot...

Read more

Operator Precedence & Associativity

What is Precedence?

Operator precedence refers to the rules that determine the order in which operators are evaluated in an expression. It defines the hierarchy of operators based on their priority levels. Operators with higher precedence are eva...

Read more

Library

WEB DEVELOPMENT

FAANG QUESTIONS