a) gets()
b) fgets()
c) fread()
d) getc()
a)0
b)1
c)3
d)4
9. To add two four bit numbers, how many full and half adders required
a) Fulladder, 1 Half adder
b) Fulladder, 2 Half adder
c) Half adders only
d) 3 Fulladder, 1 Half adder
a)0,2,4,6,8
b)2,4,6,8,10
c)
d)
17. Union number refer to
a) same memory location
b) different memory location
}
a)20
b)31
c)error
d)5
19. struct data
{
char a[10];
char s[10];
}
v[2]={“coffee,tea”,”coffee,tea”};
printf(“ %s %s “ v-> a , v -> s)