Just thought of taking a no. having digits greater than or equal to 10, as user input and simply print it. But this code doesnot work. Please help..
Code:#include <stdio.h> #include <alloc.h> int main(void) { void *p=malloc(10); scanf("%p",&p); printf("%p",p); return 0; }