Author: Rabecca Fatima
-
C++Memory Management in C++
What is Memory Management? Memory management is defined as the process of managing a computer’s memory, such as assigning memory…
November 2, 2022
-
C++Multithreading in C++
What is Multithreading? Multithreading is a subset of multitasking, which is the feature that allows your computer to run two…
November 3, 2022
-
C++Namespaces in C++
What are Namespaces in C++? Namespaces are logically separated sections of a program. They are required if you want multiple…
November 4, 2022
-
C++Hello World program
Program code: Output: #include<iostream>: A number sign (#) at the start of a line instructs the compiler’s pre-processor. The <iostream>…
November 5, 2022
-
C++Adding two numbers
Program code: Output: where, int sum=0: A variable can be initialized during the declaration process. This is usually done to…
November 5, 2022
-
C++Even Or Odd number check
A number is even if it is divisible by two, and odd if it is not divisible by two. Some…
November 5, 2022
-
C++Program to Find ASCII Value of a Character
In C++ programming, a character variable stores an ASCII value (an integer number between 0 and 127) rather than the character…
November 5, 2022
-
C++Sum Of Series 1 + 2 + 3 + 4 + 5 + 6 . . . . n
The sum of a series consisting of n terms beginning with “1,” is equivalent to the sum of n natural numbers…
November 5, 2022
-
C++Sum Of Series 1 + 1 / 2 ^ 2 +. . . . 1 / n ^ n
A program to compute the sum of a given series 1 + 1/2^2 + 1/3^3 + …..+ 1/n^n. For this,…
November 5, 2022
-
C++Sum Of Series 1 + 2 + 4 + 8 + 16 + 32 + . . n
Program code: Output: Main Logic used here: Note: also read about Sum Of Series 1 + 2 + 3 + 4…
November 5, 2022
-
PythonIntroduction – Python programming language
What is Python? Python is a high-level, general-purpose, dynamic, interpreted programming language that is widely used. Guido Van Rossum is known as…
November 7, 2022
-
C++Pattern Program Using Star
C++ implementation for pattern printing. Pattern 1: Program code: Output: Pattern 2: Program code: Output: Pattern 3: Program code: Output:…
November 7, 2022