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 / gaurav

3 3 4

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scanf_s in c?

635


Explain c preprocessor?

687


Difference between Function to pointer and pointer to function

636


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3059


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9663






Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2124


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

670


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1574


What are different types of operators?

600


What is a class c rental property?

620


Explain the use of keyword 'register' with respect to variables.

593


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1524


define string ?

671


What is variable and explain rules to declare variable in c?

558


What is the explanation for prototype function in c?

573