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
What does the file stdio.h contain?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is the difference between volatile and const volatile?
What is the acronym for ansi?
What is hungarian notation? Is it worthwhile?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What does != Mean in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Not all reserved words are written in lowercase. TRUE or FALSE?
Explain how can you check to see whether a symbol is defined?
What is a program flowchart and how does it help in writing a program?
What is #include conio h?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is the difference between a free-standing and a hosted environment?