Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

ASSERTS in C++

#include <iostream>
#define assert
using namespace std;
class ForgetCode
{
    public:
void display(int* a) {
  assert (a!=NULL);
  cout<<a;
}
};
int main ()
{
  ForgetCode f;
    int x=10;
  int *y = NULL;
  int *z = NULL;

  y=&x;

 f.display (y);
 f.display(z);

  return 0;
}