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...


Explain what are header files and explain what are its uses in c programming?



Explain what are header files and explain what are its uses in c programming?..

Answer / Tarun Saini

In C, the sizeof operator returns the size of a data type in bytes. It can be used with any data type, including user-defined types. For example: int x; printf("Size of int is: %ld
", sizeof(x)); char str[10]; printf("Size of char array is: %ld
", sizeof(str));

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1 Answers  


what is the height of tree if leaf node is at level 3. please explain

1 Answers  


Explain the difference between struct and union.

2 Answers  


What are the differences between Structures and Arrays?

1 Answers   TCS,


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1 Answers  


What are disadvantages of C language.

1 Answers   iNautix,


what is a stack

6 Answers  


How is actual parameter different from the formal parameter?

1 Answers  


Is it better to bitshift a value than to multiply by 2?

1 Answers  


What is the purpose of void pointer?

1 Answers  


What are global variables and explain how do you declare them?

1 Answers  


What are the functions to open and close file in c language?

1 Answers  


Categories