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

Answers were Sorted based on User's Feedback



main() { int y=10; if(y++>9 && y++!=10 && y++>10) { printf("..

Answer / jane

13

Is This Answer Correct ?    11 Yes 2 No

main() { int y=10; if(y++>9 && y++!=10 && y++>10) { printf("..

Answer / 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

main() { int y=10; if(y++>9 && y++!=10 && y++>10) { printf("..

Answer / shruthi

12

Is This Answer Correct ?    2 Yes 2 No

main() { int y=10; if(y++>9 && y++!=10 && y++>10) { printf("..

Answer / nagendra kumar

10

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More Engineering AllOther Interview Questions

what are the various login options used in loadrunner tool to make a application performance testing

0 Answers  


376,188,88,40,16,4,-2. Find wrong term in series

0 Answers  


How to create test case scenario?

0 Answers   Hindustan Unilever Limited,


how i run the assembly language code

0 Answers  


Whats the difference between following two array declaration in JAVA int a[]={1,2,3,4,5} int []a={1,2,3,4,5}

2 Answers  






what is test initiation criteria in software testing

2 Answers   CybAge, Seed Infotech,


What is the full forms SDDC,TOR,DLRO,PPP,USW,AWWA,CMOS,SVI,

1 Answers  


how to implement spiral model on railway reservation?.

0 Answers  


How to Define the defect density?

0 Answers   CFCI,


What is candidate key ? What is Alter net key ? & What is foreign key ?

0 Answers   Globsyn,


What is mean by the error LVALUE REQUIRED in C language

0 Answers  


I m doing btech with computerscience branch.For every campus placement eligibilty criteriais is 60%.I have 65% in highschool and b.tech till now but secured 59.6% in intermediate. So would this percentage b considered as 60% or i wont b able to sit in exams?kindly post your views?

2 Answers   TCS,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)