how to find the sizof of any datatype using bit manipulations
Answer Posted / nazia wasim
the size of any datatype or a variable can b
calculated using sizeof operator .it uses one
argument as the datatype or variable name
and returns the size in bytes.syntax:-sizeof
(datatype).
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Who invented b language?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
simple program of graphics and their output display
What are pointers really good for, anyway?
What are the different properties of variable number of arguments?
What is meant by high-order and low-order bytes?
Is fortran still used today?
What is struct node in c?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What is hash table in c?
please give me some tips for the placement in the TCS.
What is the general form of #line preprocessor?
What is conio h in c?
What is the translation phases used in c language?