Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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);
}

Answers were Sorted based on User's Feedback



what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / praveen

0 0 1 3 1


correct me if im wrong

Is This Answer Correct ?    22 Yes 0 No

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

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

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / abhradeep chatterjee

0 0 1 3 1

Is This Answer Correct ?    4 Yes 0 No

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / valli

0 0 1 3 1
m=-1&&-1&&0||2;//i.e,m=1;and i,j,m,l are incrimented

Is This Answer Correct ?    3 Yes 0 No

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / manojkumar

0 0 1 3 1
this answer is write

Is This Answer Correct ?    2 Yes 0 No

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / dally

0 0 0 3 1

Is This Answer Correct ?    1 Yes 3 No

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j+..

Answer / nisha

-1 -1 0 2 1

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More C Interview Questions

How to get string length of given string in c?

0 Answers  


Write a program that can show the multiplication table.

0 Answers   Student,


what is diference between return 0 and return NULL??

3 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

5 Answers  


What is the difference between far and near in c?

0 Answers  


What are the advantages of Macro over function?

1 Answers  


When c language was developed?

0 Answers  


What is the role of && operator in a program code?

0 Answers  


what is the difference between declaration and definition of a variable or function ?

3 Answers  


Why do some versions of toupper act strangely if given an upper-case letter?

0 Answers  


What is the restrict keyword in C?

2 Answers  


How can I implement a delay, or time a users response, with sub-second resolution?

0 Answers  


Categories