Write a c program to find the size of int without using sizeof operator

 #include<stdio.h>  
 int main()  
 {  
     int *ptr = 0;  
     ptr++;  
     printf("Size of int data type: %d",ptr);  
  return 0;  
 }  

No comments:

Post a Comment