Answer Posted / 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 |
Post New Answer View All Answers
Is file a keyword in c?
Do you know the difference between malloc() and calloc() function?
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
What is #define used for in c?
How do you list files in a directory?
Explain null pointer.
Explain 'bit masking'?
Explain what does it mean when a pointer is used in an if statement?
What is use of integral promotions in c?
Why malloc is faster than calloc?
What does c mean in standard form?
What is the purpose of clrscr () printf () and getch ()?
Explain what are global variables and explain how do you declare them?
What are the usage of pointer in c?
If I have a char * variable pointing to the name of a function ..