How to avoid structure padding in C?
Answer Posted / ravi
by using #pragma you can avoid structure padding. and that
to u can use it in linux or unix if i m not wrong.
| Is This Answer Correct ? | 55 Yes | 4 No |
Post New Answer View All Answers
What does & mean in scanf?
What is the benefit of using an enum rather than a #define constant?
Is c still used?
Why doesnt the call scanf work?
Do pointers need to be initialized?
Explain how do you override a defined macro?
Explain the difference between getch() and getche() in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Explain what is output redirection?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
What is the stack in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
List some basic data types in c?
writ a program to compare using strcmp VIVA and viva with its output.