-
Pavatharni . S started the topic What is an Overflow Error? in the forum C++ 3 months ago
Overflow Error occurs when the number is too large for the data type to handle. In simple terms, it is a type of error that is valid for the defined but exceeds used the defined range where it should coincide/lie.
For example, the range of int data type is –2,147,483,648 to 2,147,483,647 and if we declare a variable of size 2,247,483,648 it w…[Read more]
-
Pavatharni . S wrote a new item 3 months ago
Static variables in the C programming language are used to preserve the data values between function calls even after they are out of their scope. Static variables preserve their values in their scope and they can […]
-
Pavatharni . S wrote a new item 3 months ago
In C preprocessor directives are considered the built-in predefined functions or macros that act as a directive to the compiler and are executed before the program execution
-
Pavatharni . S wrote a new item 3 months ago
Scope of the variable can be defined as the part of the code area where the variables declared in the program can be accessed directly. In C, all identifiers are lexically (or statically) scoped.
-
Pavatharni . S wrote a new item 3 months ago
A pointer in C Programming is used to point the memory location of an existing variable. In case if that particular variable is deleted and the Pointer is still pointing to the same memory location, then that […]
-
Pavatharni . S wrote a new item 3 months ago
Brain Kernighan
-
Pavatharni . S wrote a new item 3 months ago
In case of dynamic memory allocation, memory is allocated at runtime and memory can be increased while executing the program. It is used in the linked list. The malloc() or calloc() function is required to […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
Python embrace the principles of object-oriented programming and allows classes to acquire the characteristics of another class, a concept known as inheritance. This facilitates code reuse, promoting […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
A Python namespace ensures that the names assigned to objects within a program are unique and can be used without conflict. In Python, namespaces are implemented as dictionaries where the object’s name serves as t […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
Files containing Python codes are referred to as Python modules. This code can be of different types like classes, functions, or variables. This saves the programmer’s time by providing predefined f […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
PYTHONPATH serves as an environment variable within the Python programming language, empowering users to define supplementary directories for Python to search when seeking modules and packages. This variable […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
Python is an interpreted language, so it doesn’t need to be compiled before execution, unlike languages such as C. Python is dynamically typed, so there is no need to declare a variable with the data type. P […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
PEP in Python stands for Python Enhancement Proposal. It comprises a collection of guidelines that outline the optimal approach for crafting and structuring Python code to ensure the utmost clarity and legibility.
-
Pavatharni . S wrote a new item 3 months, 1 week ago
Lists Tuples Lists are mutable, i.e., they can be edited Tuples possess immutability, denoting their incapability of being modified like lists. Lists are usually slower than tuples Tuples are faster than […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
An interpreted programming language refers to any language that executes its instructions sequentially, one line at a time. In the case of Python, programs are executed directly from the source code without the […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
Python is an interpreted scripting language that is known for its power, interactivity, and object-oriented nature. It utilizes English keywords extensively and has a simpler syntax compared to many other […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
public class Demo{ public static void main(String[] arr){ } public static void main(String arr){ } }
-
Pavatharni . S wrote a new item 3 months, 1 week ago
public class Demo{ public static void main(String[] arr){ Integer num1 = 100; Integer num2 = 100; Integer num3 = 500; Integer num4 = 500; if(num1==num […]
-
Pavatharni . S wrote a new item 3 months, 1 week ago
public class A { public static void main(String[] args) { int $_ = 5; } }
-
Pavatharni . S wrote a new item 3 months, 1 week ago
public class A { public static void main(String[] args) { System.out.println(‘j’ + ‘a’ + ‘v’ + ‘a’); } }
- Load More