main()
{
int i = -3,j=2,k=0,m;
m= ++i || ++j && ++k;
printf("%d%d%d",i,j,k,m);
}
Answer Posted / tarkibitact
-2301
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Describe static function with its usage?
How can you restore a redirected standard stream?
What is the best organizational structure?
What is the difference between a free-standing and a hosted environment?
What is chain pointer in c?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Write a factorial program using C.
Does c have class?
Explain how do you override a defined macro?
Explain what happens if you free a pointer twice?
What is the meaning of ?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is the purpose of 'register' keyword in c language?
Is it possible to pass an entire structure to functions?
What is the correct declaration of main?