why wipro wase
No Answer is Posted For this Question
Be the First to Post Answer
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
Does c have enums?
To find whether a number is even or odd without using any conditional operator??
12 Answers College School Exams Tests, IBM,
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
Do you know what is the purpose of 'extern' keyword in a function declaration?
What is uint8 in c?
how could explain about job profile
without using arithmatic operator solve which number is greater??????????
What's a good way to check for "close enough" floating-point equality?