Develop a program to print values of variable and their addresses.
This post content:-
Algorithm
Flowchart
C code
Output
Pdf notes
Algorithm:-
Step 1:- start.
Step 2:- declare variable num.
Step 3:- take input for variable num.
Step 4:- create pointer and Store address of num variable.
Step 5:- print the value and address of variable num using pointer.
Step 6:- END.
Flowchart:-
C code:-
Output:-
Try it yourself:- online c compiler
Comments
Post a Comment