void main() { int i; if(printf("Program with out Semicolon")) i=0; } //Explanation// As Printf function return int(no of charecter),so The Value of i must be =0; And program should be work with out semicolon.
I think it cant be possible to write program without semicolon.We can write printf statement without semicolon.But in variable declaration we have to use semicolon and variable declaration also considered as part of program.
A variable carries a value.(already assigned OR from Scanf..what ever the way). I want to know whether the variable is positive or negative. Conditions: ----------- 1.NO looping logic should be used such as for ..while..etc.
2.should not use > or <.
3.should not use any numbers except 0. We can use 0 and equality operator. How to know the number is positive or negative?
Q.8 When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack is (a) left to right (b) right to left (c) bigger variables are moved first than the smaller variables. (d) smaller variables are moved first than the bigger ones (c) none of the above.