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 / dally
0 0 0 3 1
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of sprintf() function?
Explain the use of bit fieild.
Is Exception handling possible in c language?
Differentiate between null and void pointers.
Explain how can you tell whether a program was compiled using c versus c++?
Compare array data type to pointer data type
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Can we access the array using a pointer in c language?
What is the difference between union and anonymous union?
Can we initialize extern variable in c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Define Spanning-Tree Protocol (STP)
What is the best way to comment out a section of code that contains comments?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.