What is structure padding ?

Answer Posted / priya

structure padding is used to pad the data in
such a way that it can be sent to external devices.
Sometimes, the data is padded in such a way
that it can be used on little endian vs big
endian processors
Padding is done to fast access of data from memory.

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2548


can we have joblib in a proc ?

1650


What is the description for syntax errors?

606


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3109


what is the role you expect in software industry?

1645






What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1950


How can I prevent another program from modifying part of a file that I am modifying?

606


What is modifier & how many types of modifiers available in c?

600


What is switch in c?

639


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

606


What is static and volatile in c?

773


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2385


why return type of main is not necessary in linux

1695


code for quick sort?

1609


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1699