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
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Who invented bcpl language?
How do you determine the length of a string value that was stored in a variable?
Tell me when is a void pointer used?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Why do we use & in c?
How can I use a preprocessorif expression to ?
What is difference between union and structure in c?
What is int main () in c?
Write a program to print factorial of given number using recursion?
What are the 4 types of programming language?
Differentiate between full, complete & perfect binary trees.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Who developed c language?
What is const volatile variable in c?