#include<stdio.h>
int main()
{ int i=0,j=1,k=2,m,n=0;
m=i++&&j++&&k++||n++;
printf("%d,%d,%d,%d,%d",i,j,k,m,n);
}

Answer Posted / g krishna rao

1,1,2,0,1

when it encounters zero it will not check remaining conditions
and go to or conditions and incriment n

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add pointers together?

612


How are Structure passing and returning implemented by the complier?

710


What is action and transformation in spark?

592


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

642


Can the size of an array be declared at runtime?

602






How do you construct an increment statement or decrement statement in C?

737


Why string is used in c?

580


Place the #include statement must be written in the program?

567


Linked lists -- can you tell me how to check whether a linked list is circular?

643


What is the significance of scope resolution operator?

851


What is the explanation for modular programming?

681


What is actual argument?

587


Can we change the value of constant variable in c?

570


What is the use of sizeof () in c?

555


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

620