main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}
write a program to rearrange the array such way that all even elements should come first and next come odd
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
const char * char * const What is the differnce between the above tow?.
Do you know pointer in c?
Why is malloc used?
Explain the difference between getch() and getche() in c?
explain what is a newline escape sequence?
Why is it important to memset a variable, immediately after allocating memory to it ?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
what is the height of tree if leaf node is at level 3. please explain
What is methods in c?