a=5
a=a++/++a
Answers were Sorted based on User's Feedback
Answer / abhi
answer is 6 because
a=a++/++a
i.e.=
5=5/5+1
hence 6=5/6
5*6=5
30/5=6
reason is that the post increment increment after process
but pre increment increment before the process so th value
is increment before the process
Is This Answer Correct ? | 1 Yes | 10 No |
Are bit fields portable?
When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
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?
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
How can I get back to the interactive keyboard if stdin is redirected?
How will you divide two numbers in a MACRO?
What does void main return?
why programming language C is still used in operating system's kernel??
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,
what is the difference between while and do while?
What do you mean by scope of a variable in c?