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
write a program to print largest number of each row of a 2D array
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..
Explain why c is faster than c++?
Is it fine to write void main () or main () in c?
#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); }
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
What is calloc in c?
Differentiate fundamental data types and derived data types in C.
What standard functions are available to manipulate strings?
show how link list can be used to repersent the following polynomial i) 5x+2
What are loops c?
Between macros and functions,which is better to use and why?
Are the variables argc and argv are local to main?
What is hungarian notation? Is it worthwhile?
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?