Answers for "cpp null reference"

C++
1

null c++

//NULL is equal to 0
#include <iostream>
using namespace std;
int main(){
  int x = NULL;
  int y = 0;
  cout << y << endl; // Outputs 0
  cout << x << endl; // Outputs 0
  return 0;
}
Posted by: Guest on December-28-2020

Code answers related to "cpp null reference"

Browse Popular Code Answers by Language