Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C Basics cpp-macros

Interesting Facts about Macros and Preprocessors in C

  In a C program, all lines that start with # are processed by preprocessor which is a special program invoked by the compiler. In a very basic term, preprocessor takes a C program and pro...
C C++ cpp-data-types

Interesting facts about data-types and modifiers in C/C++

Here are some logical and interesting facts about data-types and the modifiers associated with data-types:- 1. If no data type is given to a variable, then the compil...
C Quiz C-Operators cpp-operator

Interesting facts about Operator Precedence and Associativity in C

Operator precedence determines which operator is performed first in an expression with more than one operators with different precedence. For example 10 + 20 * 30 is ...
C C++ C-Loops & Control Statements

Interesting facts about switch statement in C

Prerequisite – Switch Statement in C Switch is a control statement that allows a value to change control of execution. // Following is a simple progr...
C C-Input and Output Quiz c-input-output

Interesting Facts in C Programming

Below are some interesting facts about C programming: 1) The case labels of a switch statement can occur inside if-else statements. #include <stdio.h> ...
C++ C++-Static Keyword Static Keyword

Some interesting facts about static member functions in C++

1) static member functions do not have this pointer. For example following program fails in compilation with error “`this’ is unavailable for static mem...
C++ cpp-pair cpp-set

C++ programming and STL facts

Assign value by a pair of {} to a container // Lots of programmers write code  // like this one: pair<int, int> p = make_pair(3, 4);  &...
C# CSharp-Basics interesting-facts

Interesting Facts about C#

C# is a general-purpose, modern and object-oriented programming language pronounced as “C Sharp”. It was developed by Microsoft led by Anders Hejlsberg ...
Java interesting-facts Java

Interesting facts about null in Java

Almost all the programming languages are bonded with null. There is hardly a programmer, who is not troubled by null. In Java, null is associated java.lang.NullPointe...
Java interesting-facts Java-Array-Programs

Interesting facts about Array assignment in Java

Prerequisite : Arrays in Java While working with arrays we have to do 3 tasks namely declaration, creation, initialization or Assignment. Declaration of array : int[]...

Subscribe to Our Newsletter