C Program to demonstrate use of null pointer.
#include <stdio.h>
int main ()
{
int *p1=NULL;
printf("Value
of *p1 = %d", p1);
return 0;
}
|
Output of the
Program:
Value of *p1 = 0
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
C Program to demonstrate use of null pointer.
#include <stdio.h>
int main ()
{
int *p1=NULL;
printf("Value
of *p1 = %d", p1);
return 0;
}
|
No comments:
Post a Comment