#include<stdio.h>
void main()
{
int a,b,c;
a=b=c=1;
c=++a || ++b && ++c;
printf("%d\t%d\t%d",a,b,c);
}

Answer Posted / biren

a=2 b=1 c=1
why plz tell me

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sort in c?

627


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

696


What is a void pointer? When is a void pointer used?

614


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

607


What is typedef example?

611






In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1623


What are the ways to a null pointer can use in c programming language?

586


What is a rvalue?

743


What is use of null pointer in c?

563


What tq means in chat?

577


In a switch statement, what will happen if a break statement is omitted?

596


What is the advantage of using #define to declare a constant?

614


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

721


What are the advantages of using Unions?

642


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1793