1. if(fp == fopen(\"dfas\",\"r\") = = NULL), what is the value of fp
d. 0 or 1
#define sqr(x) x*x, what is value of j if j == 2 * sqr(3 + 4)
#define FILENAME (extension) test_##extension, how will it print FILENAME (back)
a. test back
char *p == \"hello world\"
p == \'H\', what will be printf(\"%s\", p);
a. Hello world
b. hello world
d. compile error
int fun (), how do u define pointer to this function??
what is meant by int (* xyz)
What is true from
a. base call reference is compatible with child class
b. child class reference is compatible with base class
c. no reference to class
friend class b
then what is true?
a. a can access all protected and public members in b
b. b can access all protected and public members in a
c. a can access all members of a
d. b can access all members of b
What is the output
a. compile error
10.Two liquids A: B in ratio 7:5 and now 24 gallons drain out and b is added the ratio becomes 5:7 what is container capacity? 30, 48 , 84, none
Man has rope of length 660 mtr to fence an area, what is the max area he can fence?
Son is about to celebrate 10th birthday. After 11 years his age will be half the average of his parents. His mother is 17 years older to him. What is the age of the father?
Avg of 6 no is 8 what 7 th no should be added to make Avg 10;
Difference of cube of a no and its square is a perfect square, what is the no. -> 5
Difference of three consecutive no’s square and the no’s is 214; find the no’s :