Thursday, October 4, 2012

100 C Questions and Answers


(Q :  1)
Code:
int z,x=5,y=-10,a=4,b=2; 
z = x++ - --y * b / a;
What number will z in the sample code above contain? 
Option 1
Option 2
Option 3
10 [Ans] Corrected by buddy by running the program
Option 4
11 
Option 5
12 
____________________________________________________________

(Q :  2)
With every use of a memory allocation function, what function should be used to release allocated memory which is no longer needed? 

Live

Your Ad Here