Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
No Answer is Posted For this Question
Be the First to Post Answer
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
Please list all the unary and binary operators in C.
Create a simple code fragment that will swap the values of two variables num1 and num2.
Explain how can type-insensitive macros be created?
what are bitwise shift operators?
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Explain what is the purpose of "extern" keyword in a function declaration?
How can I write a function analogous to scanf?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,