main() {
int x=2, y=4
if ((x==2||y==4)
x++
y++
if (y==4+1)
{
x=x+y;
}
y++;
printf("The values of x and y are %d and %d."x,y);
}
What is the output?
Answer Posted / ganesh bankar
There is a errsor at compile time because some statements
are not terminated by ";".
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can you increase the allowable number of simultaneously open files?
What is meant by 'bit masking'?
Explain void pointer?
What does %c mean in c?
What are the differences between Structures and Arrays?
Are there constructors in c?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What is #line used for?
What is a good way to implement complex numbers in c?
What does sizeof return c?
Write a Program to accept different goods with the number, price and date of purchase and display them
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What do you know about the use of bit field?
Write a simple code fragment that will check if a number is positive or negative.
Where are some collections of useful code fragments and examples?