#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 / santhoshrpai

1,1,2,0,1

Is This Answer Correct ?    41 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we implement multi-threads in c.

659


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

643


What is || operator and how does it function in a program?

622


What are the types of arrays in c?

619


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

559






Explain the difference between strcpy() and memcpy() function?

590


What are the different data types in C?

725


What are the uses of a pointer?

675


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1909


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

754


Describe how arrays can be passed to a user defined function

776


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

801


Explain what is the benefit of using #define to declare a constant?

604


What is a stream water?

652


What is typedef?

664