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
Why is c called a mid-level programming language?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Explain the Difference between the New and Malloc keyword.
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
What does 3 mean in texting?
Describe explain how arrays can be passed to a user defined function
What is a memory leak? How to avoid it?
What is the correct declaration of main?
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 ].
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
What is the benefit of using const for declaring constants?
What is #pragma statements?
Is null always defined as 0(zero)?
How can I trap or ignore keyboard interrupts like control-c?
How will you delete a node in DLL?