main()
{
int y=10;
if(y++>9 && y++!=10 && y++>10)
{
printf("%d",y);
else
printf("%d",y);
}
}

Answer Posted / yash golwara

answer will be 13 but we need to first need to edit the code it has some errors
so could be this
#include<stdio.h>
#include<conio.h>
main()
{
int y=10;
if(y++>9 && y++!=10 && y++>10)
{
printf("%d",y);
}
else
printf("%d",y);
}

so now it will give answer 13 in each process it svalues increases and three process so it will increase to 13

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why every computer should have a boot strap routine?

1647


Name a accredited or govt approved university which have 100% online engineering course

1587


Write a program in ‘C’ that will accept 10 numbers from the user, sort them & then perform the binary search. The searching number will be arithmetic mean of the 10 numbers accepted from the user. Write the sort() & binSearch() functions for performing the sorting & binary search. Also create display function() for displaying the list. Sort() function will use selection sort and only receive one argument (Single char type)as type of sorting i.e. ascending (a) or descending (d). Display the list after sorting using a display() function. binSearch() function will accept one argument as a number to be search & return null or the index position of that number in the array. display() function is non argument non return type function. It will simply display the list row-wise. Program should use these functions by displaying the appropriate message for found or not found.

2127


Q1 Design a webpage for a hotel which displays all the information of the hotel such as rooms available, facilities, and packages along with rate list. Apply the different tags available to give it a good style.

1528


List three things you can do with the files you create by recording your voice on your computer

3451


how to write regression test case?what is the difference between Client server & web based Testing? can we able to do UI Testing in web based Testing

1684


how much lighting lux need for a common walking area at night time

2026


Write a Java program that takes an integer from the user and extracts and displays each digit of the integer in English. So, if the user types in 932, the program will display nine three two. [Use SimpleInput class]

1962


what is difference between Fault tolerance Vs fault avoidance

3886


Explain the following program segment. f(){ int *b; *b=2; }

2221


which is the better form java or .net?exactly when we have to choose particcular 1 among them?

1587


Can u send me a sample Final year CSE student 'RESUME' for campus placement to following mail id: aspnetworks@gmail.com

3469


differance between radix sort and radix exchange sort

3053


what are the advantages and disadvantages of extended vlan (range 1006-4094)?

2527


what do you expect from this company?

2018