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 define c?
What is huge pointer in c?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Explain the concept and use of type void.
How old is c programming language?
Is fortran still used in 2018?
What are the two types of functions in c?
What is sizeof int in c?
Why is sprintf unsafe?
Explain what are header files and explain what are its uses in c programming?
How can you invoke another program from within a C program?
How can I read data from data files with particular formats?
What are data types in c language?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is %d used for?