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

Answer Posted / nisha

-1 -1 0 2 1

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1720


Does c have circular shift operators?

1236


Explain the difference between the local variable and global variable in c?

1075


How many types of operator or there in c?

1100


What is the use of in c?

1029


how to write optimum code to divide a 50 digit number with a 25 digit number??

3270


Explain about block scope in c?

1093


What is an identifier?

1036


Explain pointer. What are function pointers in C?

1076


Explain which function in c can be used to append a string to another string?

1092


How do I convert a string to all upper or lower case?

1122


What is c language & why it is used?

1115


Do you know the difference between malloc() and calloc() function?

1065


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2580


How do you do dynamic memory allocation in C applications?

1089