C++ Output

C++ Output (Print Text)

The cout object, together with the << operator, is used to output values and print text.

Just remember to surround the text with double quotes (""): Continue reading C++ Output

C Output (Print Text)

Output (Print Text)

To output values or print text in C, you can use the printf() function:

Example

#include <stdio.h>

int main() {
  printf("Hello World!");
  return 0;
}

Continue reading C Output (Print Text)