a=5
a=a++/++a

Answer Posted / prasannanjaneyulu.kandimalla

a=5;
a=a++/++a;
in that numerator is 5 and denominator is 6(finally a value
is:6)
so a=6/6=1
finally a is postincremented so it is2(1+1)

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1452


What is class and object in c?

591


Why is it that not all header files are declared in every C program?

684


What is c system32 taskhostw exe?

594


What is typedf?

671






What does c mean before a date?

592


Are comments included during the compilation stage and placed in the EXE file as well?

673


What is the value of uninitialized variable in c?

577


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

600


ATM machine and railway reservation class/object diagram

4806


What is a dynamic array in c?

598


Write a program in c to replace any vowel in a string with z?

698


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3342


What is c language & why it is used?

583


Why isnt there a numbered, multi-level break statement to break out

590