Saturday 29 August 2015

How to find size of integer data type without using sizeof operator in c programming language


How to find size of integer data type without using sizeof operator in c programming language  




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

Leave a Reply

 
 

Labels

Blog Archive