Introduction to Programming
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
Pages
(Move to ...)
My First C Program
Basic Concepts
Looping
Branching
Patterns
Arrays
Functions
File Management
Strings
Special C Programs
Flowchart
Algorithm
Structure
Pointer
RAPTOR
Interview Questions
Quizzes
Question Bank
Games
Security
Networking
C++ Programming
ઈન્ટરનેટનું સામાન્ય જ્ઞાન
Projects
Contact us
▼
Saturday, September 24, 2016
C Program to demonstrate use of null pointer.
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
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment