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
What do you mean by invalid pointer arithmetic?
What is the difference between call by value and call by reference in c?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
Differentiate between static and dynamic modeling.
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How can my program discover the complete pathname to the executable from which it was invoked?
What are the 5 organizational structures?
which is an algorithm for sorting in a growing Lexicographic order
Differentiate between functions getch() and getche().
what are the advantages of a macro over a function?
What is optimization in c?
Write a program of advanced Fibonacci series.
Is fortran faster than c?
What is a file descriptor in c?