What is the use of the sizeof operator?

Answer Posted / nashiinformaticssolutions

The sizeof operator determines the size of a data type or variable in bytes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c called a mid-level programming language?

949


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2063


Explain the Difference between the New and Malloc keyword.

871


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

819


What does 3 mean in texting?

809


Describe explain how arrays can be passed to a user defined function

838


What is a memory leak? How to avoid it?

863


What is the correct declaration of main?

889


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

861


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

807


What is the benefit of using const for declaring constants?

792


What is #pragma statements?

819


Is null always defined as 0(zero)?

807


How can I trap or ignore keyboard interrupts like control-c?

807


How will you delete a node in DLL?

921