0% found this document useful (0 votes)
43 views

Neopat Technical Week 1

Uploaded by

kratos10703
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Neopat Technical Week 1

Uploaded by

kratos10703
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

■ Multi Choice T)'Pe Question



t zat a - I -


I
I
I
I
I
I• I L'
V

I An II r h r

I Multi Choice Type Question


I Corn

I • i nclude s4oio.h
I _
3
int main
{
0 Somegoroagc-
o roagc-
I 4
S
6
short ::.nt ? ;
scan• ~~c· ~ &i );
print• \nd'~ i);
I 8
7
}
re.:urr. 0; Dee

I
I
I
Ml_MCQ_Dot□types and
V
• ,, " Sr,;9 Chaitra Ravi

aa Question No 4 20
Ir Answer here

aa Multi Choice Type Question


t 'TIE'
■a
CO'l'l,.) C

V\ at t out u t 0 1 t~ '> C code?


■a 1 , include , stdio.h>
10 33

■m
2 int main()
3 {
10 3 SO'l'lCQO' ,age 110 u

■ II
.:I inti= 18, j = 3, k = 3;
5 printf( "%ct 4.d ", i, j, k);
G }
■ II 0 103

■■
■■
■■
II M O_Dototypes ond
1, r.,c-o (20)
r Jr 5ree Chcntro Ravi

111 Question No 5 20
Answer here

I■ Multi Choice Type Question


I■ .)e t.,e outout 01 t .... e to owirg program?
I■
W"'ot v.
9.J
1 •include stdio.h>
Ill 2 int main() {
3 int: i= 10;
6/
I■
4 char c='I
S int sum= i + c;
6 print:~("\d", sum);
I■ 7
8 }
return 0; 73

I■
I■
I■
MI_M::Q_Ootatypes ond
I I I 1,h... Q llC) V
I 1r "' Sre° Choltro Ravi

aa Question No .3 20
J An s,11er her e

■a Mufti Choice Type Question


9e
■ II '0.,~at -s t"'e cutout of tre fol owing cod e?
■ II 1 vinclude s tdio. h>
e 9

■a
2 int main()
3 {
print f( · .- 6 . 2g ", .0080009) ; 0 9e-07

■ II
0
4
5 }

■ II e9

■■
■■
■■
Ml M~Q Dotatvpes ond I I t.k()(.iO)
• I l JI V I r <- Sree Cha1tta Rav1

an Qu :.tion No 2. I .:o
Answer here

■a Multi Choice Type Question


10
■ II
Va L.l' 01 0

~ "'at t"C out.Jut ot t""-, C code?


■a l winclude ,stdio.h >
0 Undefined ber,aviou,

■ II
2 void main{)
3 {
Va UCO! b s~
int a = S;
I■
4
s int b " ++a + a++ - - -a;
6 printf("Value of b is "'", b);

I■ 7 } Vaiucot > ,;
8

I■
I■
I■
I■
I■ Multi Choice Type Question

I■
I■
d

I■
I■
I■
I■
l■
• }
Ml MCQ_DOtOt)?>es and
@ )f I r MCQ Uo) .141
V
~ u Sree Chaltro ROiif

■D
Question No 8 1 20
) Ans·11er here

■a Multi Choice Type Question


Ill
I■
\t-''"'at v/ oe trie outout or t"'e fol ow·ng program'>
l •include stdio.h>

I■ 2
3
int main :) {
int x = 10; {

I■
4 int ~ = 0; 10
s printf("".;d",x);
6 }

I■ 7
8 }
return 0; 2

I■
I■
I■
Mt M-.Q_Oatotypes Ond _
·.a IC)J I I I MCQ (20) 242 V
I 1 - Sree Chcltra Ravi

aa Question No 9 / 20
Answer here

■a Multi Choice Type Question


■ II oe tno outout of tho fol owing program'>
2332d
23 23 23

■ II
W'"'ot wi
1 t include stdio.h >

■ II
2 int main () { 0 1234 2322 4d2
3 int x = 1234, y = 02322, : = 0x4D2; 1234,1234 1234

■ II
4 printf ( "%d %0 %x\n", x, x, x);
S printf ("%d %d %d\n", x, y, :);
6 }

■ II
123 2324d
123 123 123

■■ 234 322 d2
I■ 234 234 234

I■
MI_MCQ_Dototype and
V
Sree Clloitra ffovl

aa ~.. e tl..>n N 'C 'O


Ans11er here

■a Multi Choice Type Question


■ II
CO'l1':> Ot~ •

• ~nt t s C code?
■ II
t CLt Jt 01 t"

1 • include stdio.h>

■ II
2 int main()
3 {
0

■■
4 int X = 2, Y = 0;
5 int :;
6 : = (}++, y);

■■ 7
8
printf ( "!'.d", :) ;
return 0;
Undct "ed .>e"o

■■
9 }

■■
■■
R _botatype nd It( 1 _,Q\
V
Sree Chaltro 11W

I■
N
Answer here

I■ Multi Choice Type Question


f ootf
I■
4

it "9 oc;s 9"'ller-its ·s "nvolid?


I■ 0 douole d ,. 4 3.

I■ ·,,t - .J

I■
I■ S"O t S - 4

I■
I■
I■
MI_MCQ_Datatypes end I I I MCQ (lu) 1../.8 V
t 1r ,. Sree Choma Ravi

■ II
Ql..est,.:m No 12 ~0
.J AnsNer here

■a Multi Choice Type Question


■D
0 Compile time e"o'

r~c- O.Jt i..t Of t"C' Code be ow'$


■a 1 •include stdio.h >
8

■ II
2 \ Cid main()
3 {
7
■ II
J in~ I = 8;
5 int m = 7;
6 I < m ? I•++ : m = k;

■ II 7
8 }
printf( "~d", k) ; RU " f "11 0

■■
9

■■
■■
MI_ M ... Q_DotatyPes ond
J.J.4 V
, Jf " Sr1?1? cna,tra Flovt

1111 Question No 13 20
Ans·uer here

■a Multi Choice Type Question


ID tr-e tyPP. ot o :.1 ato

Ill :::>otatv C''i a c d •te e'"'t O'"' t'"'e basis o1


O the way of storage O"d t~ • ' · ·

111 tre Y,a y ot sto ogE'


111
I■ trio tyoe o• ooe at o

I■
I■
I■
■■
■■ Multi Choice T)rpe Question

■■
■■
gC od

■■
■■
■■



M l MCQ _ DototyPes and
I "-tCO(:lll)
V
Stee Cno tro Ravi

aa Que:sti.:>n No 5 'O
Answer herp

■a Multi Choice Type Question


■D
■ II
w-at ,. t- Out ~ut ot t- s C code?

1 rinclude ,stdio.h > Com:, e t 'Tl£;

■ II 1
3
int main ()
{

■■
4 int i = S; 'TH) erne"tat:, d f
s i = i / 3;
6 printf (''':'..d\n", i);
I■ 7
8 }
return 0;
3

I■
I■
I■
IM Oato Ond
rI Ill''
V
fff a

ID ""( e nr-.
Ans11er here

I■ Multi Choice Ty pe Question


111 o u of g -

,a V, "O t

l
.:,0 t"e ou~..>ut of t..,c to ovl"g progra'TI?

windude stdio.h'- Ga boge a

r■
2 int g = :0;
3 int main( l,
4 char g = a; va ueof g - :c
■ s
6 re-::u~n 0·,
..
P"".:.r.t...- ( alue of g = !'ac"> g);

■ 0
7 } Compile Time E'-o




Ml M-.;Q_Datotypes Ond
I MC'"Q (..!Ll} V
Sree Cl'laltra ACM

■D
Question N., - 20
Answer here

■a Multi Choice Type Question


■ II "'Ot "t"'e out,.)ut ct t" s C code?
■ II ;;: (.Ude Std-0""}

■a
>IC d 'TIO ""

■■
'
""tx - I;. - 3
""t - ). 3
-I

■■
"'tt d .., y) 21474836..i.:>

■■
I■
I■
Dotatypes ond _
",;, 1 r I I I t.tCQ (20)
V t _J Sree Chaltra RCNI

DII Question No 18 / 20
Answer here

■a Multi Choice Type Question


■a
2 Ga oagevo,

■ II
What wi l:>e tne output of tne follow·ng progra'T)?
I Go oagp VO u
1 #include stdio.h)

■ II
2 int main () {
3 printf ("id \d", s i::eof( void));
4 Gar ,age va u
11••·
I■
4 }

111 O 8 Garbage value

I■
I■
I■
Ml M Q_Dotatyµe?, on a
I I I f..J('Q (20) I J. V
SreeChaltraRavt

■ II
Question No 1~ 20
Answer h ere

■a Multi Choice Type Question


■a
■ II
::, -te 'Tl '"'C' t"e OLD.it !o tne to.rowing cod e
l • include<stdio.h> 0 05

■ II
2 int ma i n()
3 {
21,28,0o
I■
.; int <;
5 x: 21,28,05;
6 printf ( ":'od"', x);

I■ 7
8 }
return 0; 28

I■
I■
I■
M M O_DotatyPes ond
I "' ..) t.20} V
SrHChaltra RCM

ID Answer h-=re

I■ Multi Choice Type Question


111 at t o t o• t" s code?
\,',/"ate JC "a ':l

111 l
Lil

• include , ~tdio.h ~
C
2

111 2
3
int main()
{
0 Ascii value of cra·oct-:
I■
.J int lC = 1;
s int } = x == 1? getchar(): 2;
6 printf(""od \ n", :,);
,■ 7 } Como·c t'T'

,■
I■

You might also like