Skip to content

Tag Archives: C Basics

Shared Pointers : A std::shared_ptr is a container for raw pointers. It is a reference counting ownership model i.e. it maintains the reference count of its… Read More
Similarities between Ruby and C There are many similarities between C and Ruby, and some of them are: Like C, in Ruby also… A programmer… Read More
Here are some of the differences between Java and C language.  C is much faster than Java Java is slower than C due to overhead. … Read More
Since C is a structured language, it has some fixed rules for programming. One of them includes changing the size of an array. An array… Read More
Assignment operators are used to assigning value to a variable. The left side operand of the assignment operator is a variable and right side operand… Read More
Given two integers A and B where A is not divisible by B, the task is to express A / B as a natural number… Read More
The given task is to take an integer as input from the user and print that integer in C language. In below program, the syntax… Read More
Inline Function are those function whose definitions are small and be substituted at the place where its function call is happened. Function substitution is totally… Read More
Signals in computers are a way of communication between the process and the OS. When a running program undergoes some serious error then the OS… Read More
In the C programming language, the keyword ‘int’ is used in a type declaration to give a variable an integer type. However, the fact that… Read More
Integer and character variables are used so often in the programs, but how these values are actually stored in C are known to few. Below… Read More
Prerequisite : Decision making in CQuestion 1   C #include"stdio.h" #include"stdlib.h" void reverse(int i) {     if (i > 5)          exit(0);      printf("%d\n", i);      return reverse(i++); } int… Read More
Given two arrays and the operation to be performed is that the every element of a[] should be divided by all the element of b[]… Read More
In C programming language, there are 256 numbers of characters in character set. The entire character set is divided into 2 parts i.e. the ASCII… Read More
C/C++ Preprocessor directives basics Preprocessor directives: In almost every program we come across in C/C++, we see a few lines at the top of the… Read More

Start Your Coding Journey Now!