Design a program using an array that lists even numbers and
odd numbers separately from the 12 numbers supplied by a user.

Answer Posted / vignesh1988i

in the above program the last for loop is LOGICALLY WRONG
one...... the last forloop must be changed as...


I WILL COME WITH A ANSWER AS SOON AS POSSIBLE

Is This Answer Correct ?    7 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to print largest number of each row of a 2D array

2128


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1816


Explain why c is faster than c++?

837


Is it fine to write void main () or main () in c?

780


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

992


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

862


What is calloc in c?

915


Differentiate fundamental data types and derived data types in C.

841


What standard functions are available to manipulate strings?

851


show how link list can be used to repersent the following polynomial i) 5x+2

1931


What are loops c?

838


Between macros and functions,which is better to use and why?

1845


Are the variables argc and argv are local to main?

1043


What is hungarian notation? Is it worthwhile?

973


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1042