Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to find the sizof of any datatype using bit manipulations

Answers were Sorted based on User's Feedback



how to find the sizof of any datatype using bit manipulations..

Answer / jvhariharan

void main()
{
int a,b;
a=sizeof(int);
b=sizeof(char);
pf("int:%d char:%d",a,b);
}

Is This Answer Correct ?    0 Yes 0 No

how to find the sizof of any datatype using bit manipulations..

Answer / 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

how to find the sizof of any datatype using bit manipulations..

Answer / niranjan kumar niraj

int sizeOf();

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More C Interview Questions

How to write a code for reverse of string without using string functions?

0 Answers   TCS,


Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }

1 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


Explain what is a stream?

0 Answers  


What are the two types of functions in c?

0 Answers  


Explain #pragma statements.

0 Answers  


Explain the red-black trees?

0 Answers  


What is optimization in c?

0 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,


for(;;) printf("C language") What is out put of above??

2 Answers   Practical Viva Questions,


what is the importance of spanning tree?

0 Answers  


write a program to display the frequency of each element in a given array in c language

1 Answers  


Categories