What will be the output of the following program
#include<stdio.h>
void main()
{
int i=20;
i-=i+++++i++;
printf("%d",i);
}

Answer Posted / anil kumar singh

this program depend on compiler dos turbo3 cpp
error msg:Lvalue required

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue?

604


How can I direct output to the printer?

812


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1714


What are the 5 types of inheritance in c ++?

581


What does %c do in c?

584






how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

2720


What is d'n in c?

632


How can I ensure that integer arithmetic doesnt overflow?

606


Describe the difference between = and == symbols in c programming?

775


What is the sizeof () a pointer?

545


write a program to copy the string using switch case?

2401


What is the difference between call by value and call by reference in c?

619


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2578


Why is sprintf unsafe?

617


What language is lisp written in?

618