What is the difference between struct and union in C?
A struct is a block of memory that stores several data objects, where those objects don't overlap. A union is a block of memory that stores several data objects, but has only storage for the largest of these, and thus can only store one of the data objects at any one time.
Is This Answer Correct ? | 0 Yes | 0 No |
What is extern keyword in c?
What is the most efficient way to count the number of bits which are set in an integer?
How to write a program for swapping two strings without using 3rd variable and without using string functions.
how to swap 2 numbers within a single statement?
write a programe returns the number of times the character appears in the string
What are file streams?
Difference between MAC vs. IP Addressing
In scanf h is used for
What is structure in c definition?
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
What are qualifiers in c?
Explain what is operator promotion?