find the value of y
y = 1.5x+3 for x<=2
y = 2x+5 for x>2


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is array of structure in c programming?

0 Answers  


Write a program to swap two numbers without using third variable in c?

0 Answers  


Why enum is used in c?

0 Answers  


How do shell structures work?

0 Answers  


A stack can be implemented only using array?if not what is used?

3 Answers   InterGlobal,






main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason

6 Answers   CSC,


What is array of structure in c?

0 Answers  


What is oops c?

0 Answers  


Are there any problems with performing mathematical operations on different variable types?

0 Answers  


What are the advantages of Macro over function?

1 Answers  


main() { float a=3.2e40; printf("%d",a); }

9 Answers   Satyam,


How is a structure member accessed?

0 Answers  


Categories