Write a C++ program to generate 10 integer numbers between -
1000 and 1000, then store the summation of the odd positive
numbers in variable call it sum_pos, then find the maximum
digit in this variable regardless of its digits length.




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

Post New Answer

More C Interview Questions

Can a variable be both static and volatile in c?

0 Answers  


What are data breakpoints?

3 Answers   Adobe,


plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  


What is meant by realloc()?

0 Answers  


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,






in iso what are the common technological language?

0 Answers  


What is the -> in c?

0 Answers  


What is const and volatile in c?

0 Answers  


What is pragma in c?

0 Answers  


What are the disadvantages of external storage class?

0 Answers  


If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?

6 Answers   Hughes,


enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }

4 Answers   ME,


Categories