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 / vignesh1988i

0 0 1 3 1

as for as i know this is the output........

thank u

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best way to comment out a section of code that contains comments?

776


What does 3 mean in texting?

608


what are the 10 different models of writing an addition program in C language?

1434


I need a sort of an approximate strcmp routine?

655


How can I do peek and poke in c?

615






What are the different types of pointers used in c language?

610


What is .obj file in c?

646


What is the difference between malloc() and calloc() function in c language?

596


What is a null pointer in c?

591


What language is lisp written in?

613


Write a code to generate a series where the next element is the sum of last k terms.

730


Explain what does a function declared as pascal do differently?

634


Why c language?

642


What is return type in c?

635


What is indirection? How many levels of pointers can you have?

654