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
Find MAXIMUM of three distinct integers using a single C statement
Explain how do you declare an array that will hold more than 64kb of data?
Explain what is the difference between text files and binary files?
What is the difference between exit() and _exit() function?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
In which header file is the null macro defined?
When should the register modifier be used? Does it really help?
What is the right type to use for boolean values in c?
What is exit() function?
How can you determine the maximum value that a numeric variable can hold?
Is c is a low level language?
Explain the use of #pragma exit?
What is array of structure in c?
Write a program to generate random numbers in c?
Why #include is used in c language?