What is structure padding ?

Answer Posted / anil

* Padding is useful, for example, in conforming to
externally imposed
layouts of machine registers.

* The obvious advantage is efficient access by CPU.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you write the function prototype, definition and mention the other requirements.

664


How do I convert a string to all upper or lower case?

629


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1329


How can I find out the size of a file, prior to reading it in?

622


Explain the difference between strcpy() and memcpy() function?

596






Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

669


Why we use stdio h in c?

584


Which is better oop or procedural?

634


What is the maximum length of an identifier?

667


Differentiate between new and malloc(), delete and free() ?

675


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2334


Explain what happens if you free a pointer twice?

613


What are identifiers in c?

635


Explain how can I pad a string to a known length?

654


What is a volatile keyword in c?

638