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 / valli
0 0 1 3 1
m=-1&&-1&&0||2;//i.e,m=1;and i,j,m,l are incrimented
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
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
How can I write functions that take a variable number of arguments?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
Write a program to reverse a linked list in c.
Write a program to check prime number in c programming?
What is cohesion and coupling in c?
What is the general form of function in c?
What are control structures? What are the different types?
What is the basic structure of c?
What is 2 d array in c?
What are the types of type qualifiers in c?
When should you use a type cast?
hi any body pls give me company name interview conduct "c" language only
Can main () be called recursively?