• Register

Featured Bloggers

dev
kylejones
mayankpathak
Mbaoma
mjg

Recent Posts

4 0 2 min.
memmove() is similar to memcpy() as it also copies data from a source to destination. memcpy() leads to problems when source and destination addresses overlap as memcpy() simply copies data one by one...
posted 13 hours ago Yogesh Sharma 247 points
4 0 6 min.
The memcpy() function is used to copy a block of data from a source address to a destination address.Its prototype.void * memcpy(void * destination, const void * source, size_t num);The idea is to sim...
posted 13 hours ago Yogesh Sharma 247 points
4 0 5 min.
Using a macro that defines main#include<stdio.h>#define fun mainint fun(void){    printf("Hii");    return 0;}Output: HiiUsing Token-Pasting Ope...
posted 14 hours ago Yogesh Sharma 247 points
4 0 6 min.
#include <math.h>#include <stdio.h>int intToStr(int x, char str[], int d){    int i = 0;    while (x) {       &nb...
posted 14 hours ago Yogesh Sharma 247 points
4 0 4 min.
 #include <stdio.h>#include <time.h>// A function that terminates when enter key is pressedvoid fun(){    printf("fun() starts \n");   &nb...
posted 14 hours ago Yogesh Sharma 247 points
5 0 2 min.
In this article we will learn how to do simple MySQL operations using pre-defined queries.What is MySQL Stored Procedure?It is a pre-defined SQL query that is named to be used in PHP. The ad...
posted 14 hours ago ahsanhanif99 109 points
edited 6 hours ago by ahsanhanif99
4 0 3 min.
/* A C program that does not terminate when Ctrl+C is pressed */#include <stdio.h>#include <signal.h>  void sigintHandler(int sig_num){    signal(SIGINT, sigi...
posted 14 hours ago Yogesh Sharma 247 points
1 0 1 min.
Recursive// A recursive C program to print all numbers from 1// to N without semicolon#include<stdio.h>#define N 10int main(int num){    if (num <= N && printf(&qu...
posted 14 hours ago Yogesh Sharma 247 points
1 0 7 min.
lseek is a system call that is used to change the location of the read/write pointer of a file descriptor. The location can be set either in absolute or relative terms.Function Definition:off_t lseek(...
posted 14 hours ago Yogesh Sharma 247 points
1 0 3 min.
ftell() in C is used to find out the position of file pointer in the file with respect to starting of the file.Syntax of ftell() is:long ftell(FILE *pointer) Consider below C program. The file taken i...
posted 14 hours ago Yogesh Sharma 247 points
1 0 2 min.
The C library function void rewind(FILE *stream) sets the file position to the beginning of the file of the given stream.DeclarationFollowing is the declaration for rewind() function.vo...
posted 14 hours ago Yogesh Sharma 247 points
1 0 4 min.
 fseek() is used to move file pointer associated with a given file to a specific position.Syntax:int fseek(FILE *pointer, long int offset, int position) pointer: pointer to a FILE object that ide...
posted 15 hours ago Yogesh Sharma 247 points
0 0 3 min.
SYMPTOMThis error happens when a client tries to connect to an HTTP Listener configured to use the HTTPS protocol:ERROR 2018-09-20 11:30:03,583 [[my-app].HTTPS_Listener_Configuration.worker.01] org.mu...
posted 15 hours ago SharadMagar450 137 points
edited 14 hours ago by SharadMagar450
1 0 3 min.
Memory leak occurs when programmers create a memory in heap and forget to delete it.Memory leaks are particularly serious issues for programs like daemons and servers which by definition never termina...
posted 15 hours ago Yogesh Sharma 247 points
0 0 1 min.
While compiling or building a maven project, sometimes you may get an invalid CEN header (bad signature) error like below,[INFO] Building OpenJavaProfiler 0.0.1-SNAPSHOT [INFO] -------...
posted 15 hours ago SharadMagar450 137 points
edited 14 hours ago by SharadMagar450
0 0 1 min.
Solution:Let us consider the following typical mysql backup script:mysqldump --routines --no-data -h $mysqlHost -P $mysqlPort -u $mysqlUser -p$mysqlPassword $databaseIt succeeds but stderr will get:Wa...
posted 15 hours ago SharadMagar450 137 points
edited 14 hours ago by SharadMagar450
0 0 2 min.
Answer:Length of polar arc =Step-by-step explanation:We have to find the arc length of the polar curve.We are given the following:Length of polar curve =Putting the values:...
posted 15 hours ago SharadMagar450 137 points
0 0 0 min.
inputVal = int(input("Enter 1 converting Celsius To Fahrenheit and 2 converting Fahrenheit To Celsius")) if (inputVal==1): celsius = float(input("Enter temperature in celsius: ")) fahrenheit ...
posted 15 hours ago SharadMagar450 137 points
0 0 2 min.
Logical to Physical CodeThe working of the program can be deduced from the following:The size of the main memory should be fixed in the code as 64 bytes. The size of a page/frame should be fixed ...
posted 15 hours ago usmanhashmi 121 points
2 0 2 min.
I. INTRODUCTIONDetecing if a given string is palimdromic or not is a programming excercise that many programmers have to do when they start their career in programming.A string is saide to be a P...
posted 16 hours ago hhh98hd 135 points