Professional Documents
Culture Documents
Inautix Paper
Inautix Paper
i$autix C%C&& & 'nix paper"
(((((((((((((((((((((((((((
C&& paper"
).cin is an
a.function
b.ob*ect
c.class.
+.i con,t remember the -ues but the ans is .irtual base class
/.what is the use of scope resolution operator0
1.ad2antage of inline function0
3.copy constructor is
ans"call by 2alue.
4.-ues on 2ertual destructor0
5.template one -ues0
6.one -, on container class0
#he order abo2e may be different.there r totally )3 -ues its
2ery easy
to ans,r.
rest of the -ues r as same as HCL cisco.u can do that.
C paper"
).How will u terminate the statement0
ans" 7
+.select the wrong one
a.a&8)7
b.a(8+7
c.a((8)79ans:
d.a;;8)7
/.
main9:
<
int n%i8)7
switch9n:
<
case )"
some stuff7
case +"
some stuff7
default"
i8)=7
>
printf9?i8@d?%i:7
>
what will be 2alue of i7
ans"non of the abo2e
1.pick ut the wrong one
Atypedef some stuff
<
>7
3.one -,s on do loop0
4.pick the odd one
a.malloc
b.calloc
c.new9ans:
5. char (ptr7
p8malloc9+=:7
How will u de allocate the memory0
a.delete.
b.free.
#here r about += -,s in this section rest i am un able to
remember0
'$IB paper"
).ans"script
+.How will u do 2ersion maintaince0
sccs9source code control system:
/.awk C+
1.a program in shell script0
find the oDp.
3.which signal u can,t catch0
ans"sigkill
4.core dump is due to 0
ans"segmentation fault.
5.echo ?todays date is ,date,?7
oDp 8 0
6.process synchronisation is done by 0
ans"s,phore
#here r totally )3 in this section rest r easy to answer.