how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / anil arya
#define SIZEOF(type) (int)&((int *)0)[1])
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are nested functions in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
How many levels of pointers can you have?
What is typeof in c?
Write a program to print fibonacci series without using recursion?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is volatile variable in c with example?
What is the difference between scanf and fscanf?
How can my program discover the complete pathname to the executable from which it was invoked?
List some of the dynamic data structures in C?
What does dm mean sexually?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Using which language Test cases are added in .ptu file of RTRT unit testing???
What are pointers? What are stacks and queues?
What is "Duff's Device"?