main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}
How to add two numbers without using semicolon n c????
write a program for egyptian fractions in c?
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
What is the difference between far and near in c?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
which operator having highest precedence? a.)+ b.)++ c.)= d.)%
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
swap two integer variables without using a third temporary variable?
Why do we use header files in c?
What are structures and unions? State differencves between them.
Explain the use of fflush() function?
Write a simple program to find the size of different basic data types in C.