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

Write a program with dynamically allocation of variable.

0 Answers   Atos Origin,


What is meant by 'bit masking'?

0 Answers  


write a program for odd numbers?

15 Answers  


how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);

19 Answers   RMSI,


What is function in c with example?

0 Answers  






What are pointers in C? Give an example where to illustrate their significance.

0 Answers   Wipro,


Find if a number is power of two or not?

1 Answers  


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

0 Answers  


write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)

7 Answers   Consultancy, DBU, FD, JK Associates, Kobe, Satyam,


when user give a number it multiply with 9 without useing '+' and '*' oprator

4 Answers  


define c

6 Answers   HCL, TCS,


Why array is used in c?

0 Answers  


Categories