Explain what is the most efficient way to store flag values?
Answer / Satyaprakash Singh
In C, flags can be efficiently stored using enumerations or bitfields. Enumerations allow you to define a sequence of named integer constants, while bitfields enable you to represent multiple Boolean variables within a single memory location.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are c header files?
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }
Why void is used in c?
can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?
Is main() function predfined or userdefined?
Is null a keyword in c?
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;
what is c language.
How can I do serial ("comm") port I/O?
What are c identifiers?
The file stdio.h, what does it contain?
difference between spiral and waterfall model