1) What What is outpu outputt of the the follow following ing code code Char*c = “Hello” Char d[6]; While*c!! = *d!!) ") What What is pigeon pigeonhol holee prin princip ciple# le# $) sol% sol%e& e& d"' d"'!( !(d' d'!" !"' '=u =u () sol%e& sol%e& s+$, s+$,$+ $+"s! "s!"), "),1+ 1+6s 6s!1 !1)) -) What What is .ut .ute/ e/00 se.ap se.apho hore re## 6) What is is est est sorting sorting algori algorith.0 th.0 its its ti.e ti.e co.ple/i co.ple/it'# t'# 2) 3ionacci 3ionacci which which s4ips s4ips one digit digit eg& eg& -5=-/$/ -5=-/$/1 1 ) /ce /cept ptio iona nall hand handli ling ng 7) 3unc 3uncti tion on o%er o%erri ridi ding ng 1) 8nheritan 8nheritance ce concepts concepts 11) 9ace condition0 condition0 life stages of thread 1") : lot lot of code snippets as4ing as4ing to predict output output 1$) How to chec4 if a nu.er can e e e/pressed in powers of "# sing sing itwise op << .odel for a college including professor students students 1() using a ar ar file in a proect0 proect0 1-) construct construct a >ueue >ueue in ?a%a@ ?a%a@ 16) Aother 3ather are two classes classes Child is child , how to to i.ple.ent this in ?a%a# ?a%a# 12) :rra'list :rra'list or Bector# Bector# 1) How to access the static static .ethods of a class# , in%ol%ing in%ol%ing reflections@ reflections@ 17) Will a code code written on a .ac run on windows windows .achine# Wh' or or wh' not# ") hread hread class class in ?a%a@ ?a%a@ "1) Difference etween docu.ent@read') docu.ent@read') and window@onlad) window@onlad) a%ascript function@ function@ "") Does one prefer char arra' or string# string# Wh'# c!!) c!!) "$)
$1) $") $$) $()
N what happens when when 'ou initialie initialie ,student ,student s1;# what default .ethods co.piler co.piler sustitutes# sustitutes# WhatIs the the difference etween Otudent s1=s" and s1=s"# s1=s"# first will in%o4e cop' constructor constructor and second will in%o4e operator) letIs sa' class student has s10 s" and s$ oects@ is s1=s"!s$ s1=s"!s$ legal in C!!# C!!#
$-) WhatIs a hash tale how will 'ou i.ple.ent an algorith. to find duplicates in an arra'0 its ti.e co.ple/it'0 if the arra' is sorted# $6) What are storage classes in C and write a asic C progra. for writing a string into file@ $2) Pu.er of per.utations of a word , QG:P:P:Q@.ath) $) difference etween path and classpath $7) what is ?BA0 how is a%a platfor. independent () what are ?DR and ?9 (1) what is a pac4age (") what are wrapper classes and what are the ad%antages# ($) 8s a%a pass ' %alue or ref# wh'# (() What is pol'.orphis.@ What is the default propert' for a %ariale and a function defined in a class pulic0 pri%ate or protected)# (-) What is %irtual constructor# (6) What is %irtual function# (2) Si%en a code with destructor and as4ed for the output# () Can 'ou define a function in c!! structure# (7) Default access t'pe of c!! structure# -) How do 'ou concatenate two strings# -1) /it condition for the fionacci series -") <
uation and as4ed for degree and order@.ath) Si%en a .atri/ and as4ed for eigen%alue and eigen%ector@ .ath) -2) What is o%erloading0 o%erriding# -) what is the use of destructor# -7) what is the difference etween static and d'na.ic .e.or' allocation# 6) What happens if a@p' i.ports and @p' i.ports a# 61) 3ile operations in C 6") Difference etween Otring and Otring Guffer 6$) Pull Tointer 6() can we define functions inside structures what is critical section 6-) :uto %ariale and register %ariale# 66) 8n%ocation order of constructors and destructors in C!! inheritence@ 62) Otatic %ariales@ 6) Oingleton concept@ 67) :d%antages of <
N 26) Definite integral and definite integral 22) uation 2) Feft in%erse 27) Calculate the eigen %alues of .atri/ [$0 ,1;10 -] ) Feft in%erse 1) What is the .eaning of static0 e/tern0 pri%ate constructors etc@ ") 'pecasting $) .ain) M const float pi = $@1(; pi = -@(; printfVfI0Xpi); N @ int .ain%oid) M int a = -; float = a+"; printfQ=fQ0); return ; N () <ect oriented design for chess ga.e -) How .an' signed integers can e represented using $" its :G J C)=# : prole. on :GC) for.ula Oo.e >uestion on 3inita :uto.ata and P3: C What is the procedure to find an e%en nu.er0 other than the .od operator What is the li.itation of .od operator in C What is a P8uestion0 8 was as4ed this >uestion in .ultiple inter%iews) <ueue using stac4# 2) Calculate a %ector perpendicular to %ector a and ) Si%en %elocit' find acceleration 7) 8ntegral definition 7) 8n%erse or transpose of a .atri/
71) What is a nested function# 7") Delete a colu.n fro. .atri/ .atla) 7$) Concatenate two .atri/ .atla) 7() What is cell arra' .atla)# 7-) What is sufunction .atla) 76) Tigeon hole0 graph coloring0 72) How do 'ou e/pand : Y G) C& answer& : C) Y G C) 7) Si%en a %ector with rando. nu.ers0 how would 'ou delete all ele.ents which are di%isile ' -# .' answer& : = :.od:0-)==)=[] 77) astruct class 1) gi%e an e/a.ple of using pointers 11) diff e>uals) and == 1") difference etween union and structure 1$) null pointer 1() difference i!! and !!i 1-) Har.onic series@ 16) Difference etween classpath and path 12) %oid pointer@ 1) Tointers 17) how would 'ou pass a pointer# 11) inline function 111) diff etween EDefine and constant int 11") write a function to find whether a nu.er is e%en or not@ 11$) Einclude 11() can structures ha%e functions inside the.@ can classes ha%e functions inside the. 11-) What is a directed graph and undirected graph# 116) Focal scope and gloal scope 112) Gig o 11) Hastale 117) i.e co.ple/it' of rute force 1") Tass ' %alue and pass ' reference 1"1) 9an4 of .atri/ 1"") Difference etween passing a pointer and a %ariale to a function 1"$) Difference etween structure and union 1"() Difference etween int and integer 1"-) What .a4es a%a progra.s run faster# 1"6) Tac4ages in a%a 1"2) Oignificance of finall' 4e'word 1") 8n%ertile .atri/@ 1"7) Belocit' = "!$*t)J"@ Calculate acceleration after $ sec and position after ( sec 1$) 3-) = $0 fI-) = calculate f$)0 if fII= in all do.ains 1$1) Aention one operator that can e used as oth unar' and inar' operator 1$") :uto correlation0 cross correlation 1$$) P'>uist sa.pling theor. 1$() 'pedef function 1$-) Difference etween X and XX in .atla 1$6) 9epresent a %ector in .atla 1$2) Feft in%erse and right in%erse of .atri/ 1$) Const int a and define inta 1$7) How are transfor. and fourier transfor. related#
1() How to concatenate $*$ and (*$ .atri/ 1(1) Tri.iti%e data t'pe in a%a 1(") Difference etween :J" and :@J" 1($) WhatIs wrong with& . = int[1]; for i=;iU=1;i!!) .[i] = 1; 1(() a = [1 " $; ( - 6]; = [1 "; $ (]; what is a)# 1(-) what is a connected graphand what is the .ini.u. nu.er of edges for a connected graph# 1(6) how do 'ou search in a inar' tree# 1(2) what is the run ti.e on alanced tree and what is a regular inar' tree# 1() difference etween Ustdio@hZ and “stdio@h” 1(7) ( students0 all ta4e atleast one engish or one ger.an@ 1" ta4e oth0 "" ger.an@how .an' of the. too4 nglish@ 1-) 8f two different process tr' to access the sa.e .e.or' location @how to .a4e sure that does not happen@ 1-1) Fhopitals rule 1-") What is the difference etween t'pedef struct and struct How to read and write to a file in c 153)