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 / yogesh bansal
yes, correct answer is 3 3 1
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Explain what is operator promotion?
If I have a char * variable pointing to the name of a function ..
How do you construct an increment statement or decrement statement in C?
define string ?
What does the function toupper() do?
Explain the use of fflush() function?
How to establish connection with oracle database software from c language?
All technical questions
What does. int *x[](); means ?
Explain high-order and low-order bytes.
What is an auto keyword in c?
what is the difference between class and unio?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.