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 |
What are the application of c?
write a c program for greatest of three numbers without using if statment
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
5 Answers ABS, Accenture, HCL, Infosys, Infotech, SoftSolve, Software India, TCS, Vertex, Vimukti Technologies,
difference between loading and linking
Why is void main used?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error
What is output redirection?
What is the difference between malloc() and calloc() function in c language?
What is the need of structure in c?
What does void main return?
Are the variables argc and argv are local to main?