C Programming and Technical

Q. What is slack byte in structure?

A. To store any type of data in structure there is minimum fixed byte which must be reserved by memory. This minimum byte is known as word boundary. Word boundary depends upon machine. TURBO C is based on 8086 microprocessor which has two byte word boundary. So any data type reserves at least two byte space.

Read Solution (Total 0)

C Other Question

Q. what is nested structure?

A. A structure is a collection of one or more variables, possibly of different data types, grouped together under a single name for convenient handling. Structures can contain other structures as members; in other words, structures can nest
Q. What is prototype of printf function?

A. Prototype of printf function is:
int printf( const char *format ,…)