#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
can we implement multi-threads in c.
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);
What is || operator and how does it function in a program?
What are the types of arrays in c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Explain the difference between strcpy() and memcpy() function?
What are the different data types in C?
What are the uses of a pointer?
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?
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
Describe how arrays can be passed to a user defined function
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?
Explain what is the benefit of using #define to declare a constant?
What is a stream water?
What is typedef?