write a program to rearrange the array such way that all even
elements should come first and next come odd
No Answer is Posted For this Question
Be the First to Post Answer
How to avoid buffer overflow?
What is optimization in c?
What is the difference between the = symbol and == symbol?
What are the storage classes in C?
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }
27 Answers Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
what is used instead of pointers in java than c?
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
prog for 1st five prime numbers in 2^x - 1
Write a C program in Fibonacci series.
What does. int *x[](); means ?
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings