• Register

Featured Bloggers

dev
kylejones
mayankpathak
Mbaoma
mjg

Recent Posts

2 0 4 min.
Array Project In this program, we will do multiple tasks at the same time.Let’sInsert in array sorting in array printing arrayFinding arrayDeleting elements in the arrayWe&rs...
posted 15 hours ago usmanhashmi 121 points
3 1 4 min.
 Size of dynamically allocated memory can be changed by using realloc().Syntax :void *realloc(void *ptr, size_t size);realloc deallocates the old object pointed to by ptr and returns a pointer to...
posted 15 hours ago Yogesh Sharma 247 points
3 0 6 min.
The name malloc and calloc() are library functions that allocate memory dynamically. It means that memory is allocated during runtime from the heap segment.Initialization: cal...
posted 15 hours ago Yogesh Sharma 247 points
3 0 5 min.
A typical memory representation of a C program consists of the following sections.1. Text segment 2. Initialized data segment 3. Uninitialized data segment 4. Stack 5. Heap A ...
posted 16 hours ago Yogesh Sharma 247 points
3 0 3 min.
Function in C language with exampleIn this article, we learn functions in C language programming. A function is a block of statements and performs a specific every call. If you write C code and use a ...
posted 16 hours ago usmanhashmi 121 points
3 1 4 min.
Compound literals are mainly used with structures and are particularly useful when passing structures variables to functions. We can pass a structure object without defining it.For example, consider t...
posted 16 hours ago Yogesh Sharma 247 points
3 0 7 min.
In C, we can specify size (in bits) of structure and union members. The idea is to use memory efficiently when we know that the value of a field or group of fields will never exceed a limit or is with...
posted 16 hours ago Yogesh Sharma 247 points
1 0 4 min.
Can you guess size of following structure?struct employee{    int     emp_id;    int     name_len;   &nbs...
posted 16 hours ago Yogesh Sharma 247 points
0 0 6 min.
Today, we have brought you an important topic: How to activate a Cash App card?  In this helping webpage, we are going to discuss two simple ways to activate a Cash App card (...
posted 16 hours ago cashappreview 130 points
1 0 6 min.
Union is a user defined data type. In union, all members share the same memory location.Example :#include <stdio.h>// Declaration of union is same as structuresunion test {   &nbs...
posted 16 hours ago Yogesh Sharma 247 points
1 0 3 min.
A Structure is a user defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different types into a single type. Create a Structure:‘struct&...
posted 17 hours ago Yogesh Sharma 247 points
6 1 3 min.
Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain.enum State {Working = 1, Failed = 0}...
posted 17 hours ago Yogesh Sharma 247 points
7 0 1 min.
At the very high level, we can think of NULL as a null pointer which is used in C for various purposes. Some of the most common use cases for NULL area) To initialize a pointer variable when that poin...
posted 17 hours ago Yogesh Sharma 247 points
9 1 2 min.
The time() function is defined in time.h (ctime in C++) header file. This function returns the time since 00:00:00 UTC, January 1, 1970 (Unix timestamp) in seconds. If second is not a null pointer, th...
posted 17 hours ago Yogesh Sharma 247 points
9 0 4 min.
 The tolower() function is defined in the ctype.h header file. If the character passed is a uppercase alphabet then the tolower() function converts a uppercase alphabet to an ...
posted 17 hours ago Yogesh Sharma 247 points
8 0 2 min.
In the previous part, I have mentioned the reason for using functions pointer along with map to implement an event handler. Now, I will introduce how to make a simple event handler in C++.This is the ...
posted 17 hours ago hhh98hd 135 points
6 0 7 min.
Given two numbers base and exponent, pow() function finds x raised to the power of y i.e. xy. Basically in C exponent value is calculated using the pow() function. Syntax:double pow(double x, dou...
posted 17 hours ago Yogesh Sharma 247 points
4 0 4 min.
If you are one of those who are active Cash App users, you can apply for a cash app card (it is a kind of a free debit card). However, people with cash app cards can make payments at every retail shop...
posted 17 hours ago cashappreview 130 points
4 0 3 min.
Anonymous methods can be used in the place where there is a use of a delegate. Lambda Expression is extension of anonymous method. A lambda expression is an anonymous function that can contain express...
posted 19 hours ago SharadMagar450 137 points
16 1 1 min.
When we declare a JavaScript Array variable , the variable store not a generic data, but a reference to the variable.Let’s figure out it through the following example.var number = 1;var numArr =...
posted 19 hours ago yaroslavkushnir 109 points