what is the output of the following program?
main()
{
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
Answer Posted / abhradeep chatterjee
0 0 1 3 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to write a c program to print list of fruits in alpabetical order?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Explain how can you be sure that a program follows the ansi c standard?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is property type c?
Is c call by value?
How can I sort a linked list?
Explain union. What are its advantages?
What is the difference between array and linked list in c?
Where are c variables stored in memory?
How does placing some code lines between the comment symbol help in debugging the code?
What is the use of sizeof () in c?
What are different types of operators?
How many types of functions are there in c?
find out largest elemant of diagonalmatrix