what is the output of the following program?
#include<stdio.h>
void main()
{
int x=4,y=3,z;
z=x-- -y;
printf("\n%d %d %d",x,y,z);
}

Answer Posted / vignesh1988i

SORRY YHE OUTPUT WILL BE 3 3 1

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Lists the benefits of c programming language?

608


What should malloc() do?

659


Explain what does it mean when a pointer is used in an if statement?

629


What is && in c programming?

692


what will be maximum number of comparisons when number of elements are given?

1422






Write a program for Overriding.

702


What is #define?

586


Which one would you prefer - a macro or a function?

615


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2210


Explain how do you determine a file’s attributes?

603


How a string is stored in c?

600


What does c mean before a date?

609


What is cohesion and coupling in c?

602


What are structure members?

609


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1448