main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf(i);
}
Answers were Sorted based on User's Feedback
Answer / vinod
Error.... Cannot convert int to char error at printf(i). If they replaced printf(i) to printf("%d",i) then it would be -1.
| Is This Answer Correct ? | 1 Yes | 0 No |
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
what will be maximum number of comparisons when number of elements are given?
How would you sort a linked list?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Explain what is a stream?
Explain the priority queues?
Describe wild pointers in c?
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
number of times a digit is present in a number
main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }
what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?
Explain command-line arguments in C.