Answer Posted / ajeet kumar
Ans a=2.
here a=a++/++a; //initial value of a=5.
1)firstly a=a++/++a <---it is pre-increment so firstly this
value will update.i.e a will be 6.
a=a++/6; //a=6
a=6/6; a=1;//after this line executions one increment will left of variable a.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How can I sort a linked list?
What is #include in c?
What is the difference between arrays and pointers?
Explain the difference between ++u and u++?
Which type of language is c?
What are different types of variables in c?
What are pointers? What are different types of pointers?
What is the purpose of the statement: strcat (S2, S1)?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What are volatile variables in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
explain what is fifo?
What does dm mean sexually?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is openmp in c?