#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
What is the best way to comment out a section of code that contains comments?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is the use of clrscr?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Explain what is page thrashing?
Can we assign integer value to char in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
What are the different types of linkage exist in c?
Is r written in c?
What is mean by data types in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Why is c known as a mother language?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Tell me about low level programming languages.
What does c value mean?