#include <stdio.h> // using namespace std; int main() { // your code goes here int *vptr=NULL; int a = sizeof(NULL); cout<<a; return 0; }
Standard input is empty
prog.c: In function ‘main’:
prog.c:8:2: error: ‘cout’ undeclared (first use in this function)
cout<<a;
^~~~
prog.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
prog.c:6:7: warning: unused variable ‘vptr’ [-Wunused-variable]
int *vptr=NULL;
^~~~
Standard output is empty