C language interview questions solution for freshers beginners placement tricky good pointers answers explanation operators data types arrays structures functions recursion preprocessors looping file handling strings switch case if else printf advance linux objective mcq faq online written test prime numbers Armstrong Fibonacci series factorial palindrome code programs examples on c++ tutorials and pdf

Start sum = 0; for(a = 42; a <= 44; a ++) { b = a % 10 d = (a - b) / 10 { for(c = 40; c <= 49; c ++) e = c % 10 if((b + e) == 10) { f = ((d + 1) * d * 100 + (b * e)) sum = sum + f } } } count = 0 while(sum >= 100) { count ++ sum = sum – 100 } Output count End

## 2 comments:

Start

sum = 0;

for(a = 42; a <= 44; a ++)

{ b = a % 10

d = (a - b) / 10

{ for(c = 40; c <= 49; c ++)

e = c % 10

if((b + e) == 10)

{ f = ((d + 1) * d * 100 + (b * e))

sum = sum + f

}

}

}

count = 0

while(sum >= 100)

{

count ++

sum = sum – 100

} Output count

End

write a program that is likely to display the following o/p

****

***

**

*

Post a Comment