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
why every computer should have a boot strap routine?
Name a accredited or govt approved university which have 100% online engineering course
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.
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.
List three things you can do with the files you create by recording your voice on your computer
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
how much lighting lux need for a common walking area at night time
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]
what is difference between Fault tolerance Vs fault avoidance
Explain the following program segment. f(){ int *b; *b=2; }
which is the better form java or .net?exactly when we have to choose particcular 1 among them?
Can u send me a sample Final year CSE student 'RESUME' for campus placement to following mail id: aspnetworks@gmail.com
differance between radix sort and radix exchange sort
what are the advantages and disadvantages of extended vlan (range 1006-4094)?
what do you expect from this company?