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
What is context in c?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
How will you delete a node in DLL?
What do you mean by Recursion Function?
How can I find out how much free space is available on disk?
What are the keywords in c?
how is the examination pattern?
When do we get logical errors?
What do you mean by dynamic memory allocation in c?
What are the benefits of organizational structure?
Write a code to generate divisors of an integer?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is graph in c?
How can you pass an array to a function by value?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none