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

1,1,5,17,61,217,?,?.

3 Answers   Apple,


Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 Answers  


How can I run c program?

0 Answers  


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

0 Answers  


Write a program in c to replace any vowel in a string with z?

0 Answers   IBS,


#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output

5 Answers   CitiGroup,


how to capitalise first letter of each word in a given string?

0 Answers  


What is structure padding & expalain wid example what is bit wise structure?

1 Answers  


What do you mean by command line argument?

0 Answers   TCS,


How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)

4 Answers  


Describe static function with its usage?

0 Answers  


I came across some code that puts a (void) cast before each call to printf. Why?

0 Answers  


Categories