1. Convert the following in to if
switch(op)
{
case 1:
case 2 : res=a+b;
break;
case 3: res-a-b;
break;
}
2. Evaluate the following if a=10 initially
a = a++ + 2*a
+ a--
3. Evaluate the following If N=100 ,i) val=2000 ii) val=1500
Res=N +val <2000 ? N*50 : N*100;
4. Write the syntax of if else if ladder
5. What will be the result of 100/11 ?
6. What is the difference between type casting and coercion? [10]
Answers
Answered by
0
Answer:
wdioqj
Explanation:
Similar questions