Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

C Input and Output

123 C Input and Output Please wait while the activity loads. If this activity does not load,...
C Program Output C-Output

Output of the program Dereference, Reference, Dereference, Reference….

Predict the output of below program #include<stdio.h> int main() {  char *ptr = "geeksforgeeks";  printf("%c ", *&am...
C++ C Basics CBSE - Class 11

Basic Input / Output in C++

C++ comes with libraries which provides us many ways for performing input and output. In C++ input and output is performed in the form of sequence of bytes or more co...
C C++ cpp-input-output

How to change the output of printf() in main() ?

Consider the following program. Change the program so that the output of printf is always 10. It is not allowed to change main(). Only fun() can be changed. ...
CSS HTML Web Technologies

HTML <output> Tag

The &lt;output&gt; tag in HTML is used to represent the result of a calculation performed by the client-side script such as JavaScript. The &lt;output&gt; tag is a ne...
Program Output Java-Output

Output of Java program Set 18 (Overriding)

Prerequisite &#x2013; Overriding in Java 1) What is the output of the following program? class Derived&#xA0; { &#xA0;&#xA0;&#xA0;&#xA0;protected final void...
Program Output Java-Output Java-Overloading

Output of Java program Set 22 (Overloading)

Prerequisite &#x2013; Overloading in Java 1) What is the output of the following program? public class Test { &#xA0;&#xA0;&#xA0;&#xA0;public int getData() ...
Program Output Java-Output

Output of Java Program Set 20 (Inheritance)

Prerequisite &#x2013; Inheritance in Java Predict the output of following Java Programs. Program 1 : class A { &#xA0;&#xA0;&#xA0;&#xA0;public Top(String s)...
Competitive Programming Java Java

Formatted output in Java

Sometimes in Competitive programming, it is essential to print the output in a given specified format. Most users are familiar with printf function in C. Let us see d...
Java Program Output Java-Output

Output of Java Programs Set 14 (Constructors)

Prerequisite &#x2013; Java Constructors 1) What is the output of the following program? class Helper { &#xA0;&#xA0;&#xA0;&#xA0;private int data; &#xA0;&#...

Subscribe to Our Newsletter