[Predict the output or error(s) for the following:] 1. struct point { int x; int y; }; struct point origin,*pp; main() { pp=&origin; printf(&quo…
Read more[Write the output of the following code snippets if correct or the error it may generate.] 1) #include main() { char s[]={'a','b',…
Read moreINFOSYS 1. The legendary king Midas possessed a huge amount of gold. He hid this treasure carefully: in a building consisting of a number of rooms. I…
Read more1. If 2x-y=4 then 6x-3y=? (a)15 (b)12 (c)18 (d)10 2. If x=y=2z and xyz=256 then what is the value of x? (a)12 (b)8 (c)16 (d)6 3. (1/10)18 - (1/10)20 …
Read more1) If the square root of 55625 is 75, then √5625 + √56.25 + √0.5625 is equal to 1) 82.25 2) 83.25 3) 80.25 4) 79.25 Sol: 2) √5625 = 75; √56.25 = 7.5…
Read more1) A train covers a distance in 50 min, if it runs at a speed of 48kmph on an average. The speed at which the train must run to reduce the time of jo…
Read more