Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C-Dynamic Memory Allocation system-programming

Memory Layout of C Programs

A typical memory representation of C program consists of following sections. 1. Text segment 2. Initialized data segment 3. Uninitialized data segment 4. Stack 5. He...
C C

Error Handling in C programs

Although C does not provide direct support to error handling (or exception handling), there are ways through which error handling can be done in C. A programmer has t...
C C++ c-puzzle

C/C++ Tricky Programs

We may come across various tricky programs in our day to day life. May be in technical interviews, coding tests, or in C/C++ classrooms. Here is a list of such progra...
C++ School Programming pattern-printing

Programs for printing pyramid patterns in C++

This article is aimed at giving a C++ implementation for pattern printing. Simple pyramid pattern // C++ code to demonstrate star pattern #include <iostr...
Java Program Output Java-Output

Output of Java Programs Set 14 (Constructors)

Prerequisite – Java Constructors 1) What is the output of the following program? class Helper {     private int data;  &#...
Java Program Output Java-Collections

Output of Java programs Set 13 (Collections)

Prerequisite – Collections in Java 1) What is the output of the following program? import java.util.*;    public class priorityQueue { &#...
Java Program Output java-garbage-collection

Output of Java programs Set 10 (Garbage Collection)

Prerequisite – Garbage Collection in Java Difficulty level : Intermediate In Java, object destruction is taken care by the Garbage Collector module and the obj...
PHP Web Technologies PHP-output

Output of PHP programs Set 1 (Regular Expressions)

Predict the output of following PHP programs: Question 1 <?php     echo str_pad("Welcome", 5)." to GeeksforGeeks.&quot...
PHP Web Technologies PHP-output

Output of PHP programs Set 2 ( Filters )

Predict the output of the following PHP programs: Question 1 <?php     $num = "123";     if (!filter_v...
PHP Web Technologies PHP-output

Output of PHP programs Set 4

Predict the output of below PHP programs: Question 1 <?php    "Welcome to GeeksforGeeks!"    ?> Options: Erro...

Subscribe to Our Newsletter