Pointer is a variable holding a memory address?

1 answer

Answer

1199649

2026-08-18 20:35

+ Follow

pointer is a derived datatype which contains memory addresses as their values.

program:-

#include<stdio.h>

#include<conio.h>

void main()

{

int m=5,*p;

clrscr();

p=&m;

printf("address of variable m is %p",(void *)p);

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.