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 would happen to X in this expression: X += 15; (assuming the value of X is 5)

1293


What is memory leak in c?

629


how can I convert a string to a number?

591


Can we declare a function inside a function in c?

580


Explain what are bus errors, memory faults, and core dumps?

786






What are the application of void data type in c?

692


What is a pointer value and address in c?

630


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

640


Which node is more powerful and can handle local information processing or graphics processing?

819


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1855


What is spaghetti programming?

666


How can I discover how many arguments a function was actually called with?

628


What is c value paradox explain?

569


Is there any possibility to create customized header file with c programming language?

619


How can I get random integers in a certain range?

609