Fueufyf (KR CKDL Fu:Fir DJRK Gs % Fu - KZ Buiqv Vkmviqv 'KQ# Çkjahk
Fueufyf (KR CKDL Fu:Fir DJRK Gs % Fu - KZ Buiqv Vkmviqv 'KQ# Çkjahk
93323/(A) P. T. O.
2 A
fuEufyf[kr çksxzke dk vkmViqV D;k gksxk \
# include <stdio.h>
void main ()
{
int a = 10, b = 2, x = 0;
x = a + b * a;
printf("value is =%d", x);
}
(1) 10 (2) 30 (3) 2 (4) buesa ls dksbZ ugha
93323/(A)
A 3
93323/(A) P. T. O.
4 A
8. Which of the function does "returns the absolute value of i" and returns value in
integer ?
dkSu-lk QaD'ku i dk iw.kZ eku ykSVkrk gS vkSj eku baVhtj esa ykSVkrk gS \
(1) fabs (2) abs (3) floor (4) sqrt
(3) ,js rRoksa dks fujarj ;k lfUufgr LFkkuksa esa eseksjh esa laxfz gr fd;k tkrk gS
(3) int arr [4] = {1, 2, 3, 4}; (4) int arr (4) = (1, 2, 3, 4);
93323/(A) P. T. O.
6 A
struct temp
int a[10];
char p;
};
16. EOF is an integer type defined in stdio.h and has a value ………….. .
EOF, stdio.h esa ifjHkkf"kr ,d iw.kkaZd çdkj gS vkSj bldk eku ----------- gSA
93323/(A)
A 7
void main ()
{
int i = 20;
int *i, k ;
j = &i;
k = &j;
*j = 4;
printf("i =%d, *j=%d, k = %d\n", i, *j, k);
(3) i = 4, *j = 4, k = 4 (4) i = 4, *j = 4, k = 20
f ′( xn ) f ′( xn )
(3) xn +1 = xn − (4) xn +1 = xn +
f ( xn ) f ( xn )
2
19. The next iterative value of the root of x − 4 = 0 using the Newton-Raphson method of
the initial guess is 3, is :
çkjafHkd vuqeku ds 3] U;wVu&jSQlu fof/k dk mi;ksx djds x 2 − 4 = 0 ds ewy dk
vxyk iqujko`fÙk eku gS %
(1) 1.5 (2) 2.067 (3) 2.167 (4) 3.000
93323/(A) P. T. O.
8 A
20. The Lagrange polynomial that passes through the 3 data points is given by :
ySxzsat cgqin tks 3 MsVk fcanqvksa ls gksdj xqtjrk gS] }kjk fn;k x;k gS %
x 15 18 22
y 24 37 25
f 2 ( x) = α 0 ( x)(24) + α1 ( x )(37) + α 2 ( x)(25)
The value of α1 (x) at x = 16 is most nearly :
x = 16 ij α1 dk eku fuEu ds lcls djhc gS %
(1) − 0.071430 (2) 0.500000 (3) 0.57143 (4) 4.3333
1
23. If f ( x) = , then find the divided difference of [a, b] :
x
1
;fn f ( x) = , rks [a, b] dk fMokbMsM fMQjsUl Kkr djsa %
x
−1 1
(1) ab (2) − ab (3) (4)
ab ab
3
3
24. Calculate by Trapezoidal rule an approximate value of ∫x dx by taking 7 equidistant
−3
ordinates :
3
3
VªSistkWbMy fu;e }kjk 7 lenwjLFk dksfV ysrs gq, ∫x dx ds vuqekfur ewY; dh x.kuk
−3
dhft, %
(1) 5 (2) −3 (3) 3 (4) 0
1
25. Simpson's rule is :
3
1
flEilu dk fu;e gS %
3
x0 + nh
h
(1) ∫ f ( x)dx ~ [( y0 + yn ) + 2( y1 + y2 + .... + yn −1 )]
x0
2
x0 + nh
3h
(2) ∫ f ( x)dx ~ [ y0 + 5 y1 + y2 + 5 y3 + y4 + 5 y5 + .......]
x0
10
x0 + nh
3h
(3) ∫ f ( x)dx ~ [( y0 + yn ) + 3( y1 + y2 + y4 + y5 + y7 + .... + yn −1 )
x0
8
+ 2( y3 + y6 + .... + yn − 3 )]
x0 + nh
h
(4) ∫ f ( x)dx ~ [( y0 + yn ) + 4( y1 + y3 + .... + yn −1 ) + 2( y2 + y4 + ..... yn − 2 )]
x0
3
93323/(A) P. T. O.
10 A
26. The algorithm provided to find the roots of the function using Bisection method is
given by ……………..
(1) Bolzano's theorem (2) Mean value theorem
(3) Bisection theorem (4) Secant theorem
ckblsD'ku fof/k dk mi;ksx djds] QaD'ku ds ewyksa dks Kkr djus ds fy, fn;k x;k
,YxksfjFe ----------- }kjk fn;k x;k gSA
(1) cksytkuks dh çes; (2) vkSlr ewY; çes;
(3) ckblsD'ku çes; (4) lsdSUV çes;
27. Find the second approximation for the following system : 3 x1 + 20 x2 − x3 = −18 ,
2 x1 − 3 x2 + 20 x3 = 25 , 20 x1 + x2 − 2 x3 = 17 using Gauss-Seidel iteration method with
initial approximation x1(0) = 0 , x2(0) = 0 , x3(0) = 0 :
(1) First Order Runge-Kutta method (2) Second Order Runge-Kutta method
(3) Third Order Runge-Kutta method (4) Fourth Order Runge-Kutta method
(3) FkMZ vkMZj #axs&dqêk fof/k (4) QksFkZ vkMZj #axs&dqêk i)fr
93323/(A)
A 11
29. The convergence rate of the ………….. method is poor, when two largest eigen values
are nearly equal in magnitude.
----------- fof/k dh vfHklj.k nj [kjkc gS] tc nks lcls cM+s vkbZxsu eku ifjek.k
esa yxHkx cjkcj gSaA
(1) ikoj dh (2) U;wVu dh (3) ;wyj dh (4) cksytkuks dh
n +1
30. The iteration formula for Euler's modified method is y1 = y0 + ..... .
h
(1) f ( x.0 , y.0 ) + h (2) [ f ( x.0 , y.0 ) + f ( x1 , y1 )]
2
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) None of these
93323/(A) P. T. O.
12 A
QkWeZ y = ax 2 + bx + c dk ,d cgqin dks dgk tkrk gS %
(1) jSf[kd lehdj.k (2) lsd.M fMxzh lehdj.k
(3) ikjLifjd lehdj.k (4) prq?kkZr lehdj.k
93323/(A)
B 1
93323/(B) P. T. O.
2 B
(3) value of a : 10 (4) None of these
value of a : 11 buesa ls dksbZ ugha
value of a : 12
value of a : 13
value of a : 14
value of a : 15
3. Which of the function does "returns the absolute value of i" and returns value in
integer ?
dkSu-lk QaD'ku i dk iw.kZ eku ykSVkrk gS vkSj eku baVhtj esa ykSVkrk gS \
(1) fabs (2) abs (3) floor (4) sqrt
93323/(B)
B 3
(3) ,js rRoksa dks fujarj ;k lfUufgr LFkkuksa esa eseksjh esa laxfz gr fd;k tkrk gS
93323/(B) P. T. O.
4 B
(3) int arr [4] = {1, 2, 3, 4}; (4) int arr (4) = (1, 2, 3, 4);
struct temp
int a[10];
char p;
};
93323/(B)
B 5
11. EOF is an integer type defined in stdio.h and has a value ………….. .
EOF, stdio.h esa ifjHkkf"kr ,d iw.kkaZd çdkj gS vkSj bldk eku ----------- gSA
(1) 1 (2) 0 (3) Null (4) −1
void main ()
{
int i = 20;
int *i, k ;
j = &i;
k = &j;
*j = 4;
printf("i =%d, *j=%d, k = %d\n", i, *j, k);
(3) i = 4, *j = 4, k = 4 (4) i = 4, *j = 4, k = 20
f ( xn ) f ( xn )
(1) xn +1 = xn − (2) xn +1 = xn +
f ′( xn ) f ′( xn )
f ′( xn ) f ′( xn )
(3) xn +1 = xn − (4) xn +1 = xn +
f ( xn ) f ( xn )
93323/(B) P. T. O.
6 B
2
14. The next iterative value of the root of x − 4 = 0 using the Newton-Raphson method of
the initial guess is 3, is :
çkjafHkd vuqeku ds 3] U;wVu&jSQlu fof/k dk mi;ksx djds x 2 − 4 = 0 ds ewy dk
vxyk iqujko`fÙk eku gS %
(1) 1.5 (2) 2.067 (3) 2.167 (4) 3.000
15. The Lagrange polynomial that passes through the 3 data points is given by :
ySxzsat cgqin tks 3 MsVk fcanqvksa ls gksdj xqtjrk gS] }kjk fn;k x;k gS %
x 15 18 22
y 24 37 25
f 2 ( x) = α 0 ( x)(24) + α1 ( x )(37) + α 2 ( x)(25)
The value of α1 (x) at x = 16 is most nearly :
x = 16 ij α1 dk eku fuEu ds lcls djhc gS %
(1) − 0.071430 (2) 0.500000 (3) 0.57143 (4) 4.3333
(1) lies between 0 and 1 (2) lies between − 0.5 and 0.5
93323/(B)
B 7
ç{ksi ds fy, U;wVu QkWjoMZ QkWewZyk gS %
u u (u − 1) 2 u (u − 1)(u − 2) 3
(1) f (a + uh) = f (a ) + ∆f (a ) + ∆ f (a) + ∆ f (a ) + ........
1! 2! 3!
u u (u + 1) 2
(2) f (a + nh + uh) = f (a + nh) + ∇f (a + nh) + ∇ f (a + nh) + ........
1! 2!
u (u − 1) 2 u (u + 1)(u − 1) 3
(3) yu = y0 + u∆y0 + ∆ y −1 + ∆ y −1 + ........
2! 3!
1
18. If f ( x) = , then find the divided difference of [a, b] :
x
1
;fn f ( x) = , rks [a, b] dk fMokbMsM fMQjsUl Kkr djsa %
x
−1 1
(1) ab (2) − ab (3) (4)
ab ab
3
3
19. Calculate by Trapezoidal rule an approximate value of ∫x dx by taking 7 equidistant
−3
ordinates :
3
3
VªSistkWbMy fu;e }kjk 7 lenwjLFk dksfV ysrs gq, ∫x dx ds vuqekfur ewY; dh x.kuk
−3
dhft, %
93323/(B) P. T. O.
8 B
1
flEilu dk fu;e gS %
3
x0 + nh
h
(1) ∫ f ( x)dx ~ [( y0 + yn ) + 2( y1 + y2 + .... + yn −1 )]
x0
2
x0 + nh
3h
(2) ∫ f ( x)dx ~ [ y0 + 5 y1 + y2 + 5 y3 + y4 + 5 y5 + .......]
x0
10
x0 + nh
3h
(3) ∫ f ( x)dx ~ [( y0 + yn ) + 3( y1 + y2 + y4 + y5 + y7 + .... + yn −1 )
x0
8
+ 2( y3 + y6 + .... + y n − 3 )]
x0 + nh
h
(4) ∫ f ( x )dx ~ [( y0 + yn ) + 4( y1 + y3 + .... + yn −1 ) + 2( y2 + y4 + .....yn − 2 )]
x0
3
21. The algorithm provided to find the roots of the function using Bisection method is
given by ……………..
ckblsD'ku fof/k dk mi;ksx djds] QaD'ku ds ewyksa dks Kkr djus ds fy, fn;k x;k
,YxksfjFe ----------- }kjk fn;k x;k gSA
22. Find the second approximation for the following system : 3 x1 + 20 x2 − x3 = −18 ,
2 x1 − 3 x2 + 20 x3 = 25 , 20 x1 + x2 − 2 x3 = 17 using Gauss-Seidel iteration method with
initial approximation x1(0) = 0 , x2(0) = 0 , x3(0) = 0 :
(1) First Order Runge-Kutta method (2) Second Order Runge-Kutta method
(3) Third Order Runge-Kutta method (4) Fourth Order Runge-Kutta method
(3) FkMZ vkMZj #axs&dqêk fof/k (4) QksFkZ vkMZj #axs&dqêk i)fr
24. The convergence rate of the ………….. method is poor, when two largest eigen values
are nearly equal in magnitude.
----------- fof/k dh vfHklj.k nj [kjkc gS] tc nks lcls cM+s vkbZxsu eku ifjek.k
esa yxHkx cjkcj gSaA
(1) ikoj dh (2) U;wVu dh (3) ;wyj dh (4) cksytkuks dh
93323/(B) P. T. O.
10 B
n +1
25. The iteration formula for Euler's modified method is y1 = y0 + ..... .
h
(1) f ( x.0 , y.0 ) + h (2) [ f ( x.0 , y.0 ) + f ( x1 , y1 )]
2
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) None of these
93323/(B)
B 11
93323/(B) P. T. O.
12 B
fuEufyf[kr çksxzke dk vkmViqV D;k gksxk \
# include <stdio.h>
void main ()
{
int a = 10, b = 2, x = 0;
x = a + b * a;
printf("value is =%d", x);
}
(1) 10 (2) 30 (3) 2 (4) buesa ls dksbZ ugha
93323/(B)
C 1
f ′( xn ) f ′( xn )
(3) xn +1 = xn − (4) xn +1 = xn +
f ( xn ) f ( xn )
2
9. The next iterative value of the root of x − 4 = 0 using the Newton-Raphson method of
the initial guess is 3, is :
çkjafHkd vuqeku ds 3] U;wVu&jSQlu fof/k dk mi;ksx djds x 2 − 4 = 0 ds ewy dk
vxyk iqujko`fÙk eku gS %
(1) 1.5 (2) 2.067 (3) 2.167 (4) 3.000
10. The Lagrange polynomial that passes through the 3 data points is given by :
ySxzsat cgqin tks 3 MsVk fcanqvksa ls gksdj xqtjrk gS] }kjk fn;k x;k gS %
x 15 18 22
y 24 37 25
f 2 ( x) = α 0 ( x)(24) + α1 ( x )(37) + α 2 ( x)(25)
(1) lies between 0 and 1 (2) lies between − 0.5 and 0.5
93323/(C) P. T. O.
4 C
13. 1
If f ( x) = , then find the divided difference of [a, b] :
x
1
;fn f ( x) = , rks [a, b] dk fMokbMsM fMQjsUl Kkr djsa %
x
−1 1
(1) ab (2) − ab (3) (4)
ab ab
3
3
14. Calculate by Trapezoidal rule an approximate value of ∫x dx by taking 7 equidistant
−3
ordinates :
3
3
VªSistkWbMy fu;e }kjk 7 lenwjLFk dksfV ysrs gq, ∫x dx ds vuqekfur ewY; dh x.kuk
−3
dhft, %
(1) 5 (2) −3 (3) 3 (4) 0
93323/(C)
C 5
1
flEilu dk fu;e gS %
3
x0 + nh
h
(1) ∫ f ( x)dx ~ [( y0 + yn ) + 2( y1 + y2 + .... + yn −1 )]
x0
2
x0 + nh
3h
(2) ∫ f ( x)dx ~ [ y0 + 5 y1 + y2 + 5 y3 + y4 + 5 y5 + .......]
x0
10
x0 + nh
3h
(3) ∫ f ( x)dx ~ [( y0 + yn ) + 3( y1 + y2 + y4 + y5 + y7 + .... + yn −1 )
x0
8
+ 2( y3 + y6 + .... + y n − 3 )]
x0 + nh
h
(4) ∫ f ( x )dx ~ [( y0 + yn ) + 4( y1 + y3 + .... + yn −1 ) + 2( y2 + y4 + .....yn − 2 )]
x0
3
16. The algorithm provided to find the roots of the function using Bisection method is
given by ……………..
ckblsD'ku fof/k dk mi;ksx djds] QaD'ku ds ewyksa dks Kkr djus ds fy, fn;k x;k
,YxksfjFe ----------- }kjk fn;k x;k gSA
93323/(C) P. T. O.
6 C
17. Find the second approximation for the following system : 3 x1 + 20 x2 − x3 = −18 ,
2 x1 − 3 x2 + 20 x3 = 25 , 20 x1 + x2 − 2 x3 = 17 using Gauss-Seidel iteration method with
initial approximation x1(0) = 0 , x2(0) = 0 , x3(0) = 0 :
(1) First Order Runge-Kutta method (2) Second Order Runge-Kutta method
(3) Third Order Runge-Kutta method (4) Fourth Order Runge-Kutta method
lcls yksdfç; #axs&dqêk fof/k gS %
(1) QLVZ vkMZj #axs&dqêk fof/k (2) lsd.M vkMZj #axs&dqêk fof/k
(3) FkMZ vkMZj #axs&dqêk fof/k (4) QksFkZ vkMZj #axs&dqêk i)fr
19. The convergence rate of the ………….. method is poor, when two largest eigen values
are nearly equal in magnitude.
(1) Power's (2) Newton's (3) Euler's (4) Bolzano's
----------- fof/k dh vfHklj.k nj [kjkc gS] tc nks lcls cM+s vkbZxsu eku ifjek.k
esa yxHkx cjkcj gSaA
(1) ikoj dh (2) U;wVu dh (3) ;wyj dh (4) cksytkuks dh
n +1
20. The iteration formula for Euler's modified method is y1 = y0 + ..... .
h
(1) f ( x.0 , y.0 ) + h (2) [ f ( x.0 , y.0 ) + f ( x1 , y1 )]
2
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) None of these
93323/(C)
C 7
;wyj ds la'kksf/kr fof/k ds fy, iqujko`fÙk lw= gS y1n +1 = y0 + ..... A
h
(1) f ( x.0 , y.0 ) + h (2) [ f ( x.0 , y.0 ) + f ( x1 , y1 )]
2
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) buesa ls dksbZ ugha
93323/(C) P. T. O.
8 C
fuEufyf[kr ckDl fu:fir djrk gS %
# include <stdio.h>
void main ()
int a = 10, b = 2, x = 0;
x = a + b * a;
93323/(C)
C 9
fuEufyf[kr çksxzke dk vkmViqV D;k gksxk \
# include <stdio.h>
void main ()
{
int a = 10, b = 2, x = 0;
x = a + b * a;
printf("value is =%d", x);
}
(1) 10 (2) 30 (3) 2 (4) buesa ls dksbZ ugha
93323/(C) P. T. O.
10 C
32. Which of the function does "returns the absolute value of i" and returns value in
integer ?
dkSu-lk QaD'ku i dk iw.kZ eku ykSVkrk gS vkSj eku baVhtj esa ykSVkrk gS \
(1) fabs (2) abs (3) floor (4) sqrt
93323/(C) P. T. O.
12 C
93323/(C)
D 1
void main ()
{
int i = 20;
int *i, k ;
j = &i;
k = &j;
*j = 4;
printf("i =%d, *j=%d, k = %d\n", i, *j, k);
(3) i = 4, *j = 4, k = 4 (4) i = 4, *j = 4, k = 20
f ( xn ) f ( xn )
(1) xn +1 = xn − (2) xn +1 = xn +
f ′( xn ) f ′( xn )
f ′( xn ) f ′( xn )
(3) xn +1 = xn − (4) xn +1 = xn +
f ( xn ) f ( xn )
93323/(D) P. T. O.
2 D
2
4. The next iterative value of the root of x − 4 = 0 using the Newton-Raphson method of
the initial guess is 3, is :
çkjafHkd vuqeku ds 3] U;wVu&jSQlu fof/k dk mi;ksx djds x 2 − 4 = 0 ds ewy dk
vxyk iqujko`fÙk eku gS %
(1) 1.5 (2) 2.067 (3) 2.167 (4) 3.000
5. The Lagrange polynomial that passes through the 3 data points is given by :
ySxzsat cgqin tks 3 MsVk fcanqvksa ls gksdj xqtjrk gS] }kjk fn;k x;k gS %
x 15 18 22
y 24 37 25
f 2 ( x) = α 0 ( x)(24) + α1 ( x )(37) + α 2 ( x)(25)
The value of α1 (x) at x = 16 is most nearly :
x = 16 ij α1 dk eku fuEu ds lcls djhc gS %
(1) − 0.071430 (2) 0.500000 (3) 0.57143 (4) 4.3333
(1) lies between 0 and 1 (2) lies between − 0.5 and 0.5
93323/(D)
D 3
ç{ksi ds fy, U;wVu QkWjoMZ QkWewZyk gS %
u u (u − 1) 2 u (u − 1)(u − 2) 3
(1) f (a + uh) = f (a ) + ∆f (a ) + ∆ f (a) + ∆ f (a ) + ........
1! 2! 3!
u u (u + 1) 2
(2) f (a + nh + uh) = f (a + nh) + ∇f (a + nh) + ∇ f (a + nh) + ........
1! 2!
u (u − 1) 2 u (u + 1)(u − 1) 3
(3) yu = y0 + u∆y0 + ∆ y −1 + ∆ y −1 + ........
2! 3!
1
8. If f ( x) = , then find the divided difference of [a, b] :
x
1
;fn f ( x) = , rks [a, b] dk fMokbMsM fMQjsUl Kkr djsa %
x
−1 1
(1) ab (2) − ab (3) (4)
ab ab
3
3
9. Calculate by Trapezoidal rule an approximate value of ∫x dx by taking 7 equidistant
−3
ordinates :
3
VªSistkWbMy fu;e }kjk 7 lenwjLFk dksfV ysrs gq, ∫ x 3dx ds vuqekfur ewY; dh x.kuk
−3
dhft, %
93323/(D) P. T. O.
4 D
1
flEilu dk fu;e gS %
3
x0 + nh
h
(1) ∫ f ( x)dx ~ [( y0 + yn ) + 2( y1 + y2 + .... + yn −1 )]
x0
2
x0 + nh
3h
(2) ∫ f ( x)dx ~ [ y0 + 5 y1 + y2 + 5 y3 + y4 + 5 y5 + .......]
x0
10
x0 + nh
3h
(3) ∫ f ( x)dx ~ [( y0 + yn ) + 3( y1 + y2 + y4 + y5 + y7 + .... + yn −1 )
x0
8
+ 2( y3 + y6 + .... + y n − 3 )]
x0 + nh
h
(4) ∫ f ( x )dx ~ [( y0 + yn ) + 4( y1 + y3 + .... + yn −1 ) + 2( y2 + y4 + .....yn − 2 )]
x0
3
11. The algorithm provided to find the roots of the function using Bisection method is
given by ……………..
ckblsD'ku fof/k dk mi;ksx djds] QaD'ku ds ewyksa dks Kkr djus ds fy, fn;k x;k
,YxksfjFe ----------- }kjk fn;k x;k gSA
12. Find the second approximation for the following system : 3 x1 + 20 x2 − x3 = −18 ,
2 x1 − 3 x2 + 20 x3 = 25 , 20 x1 + x2 − 2 x3 = 17 using Gauss-Seidel iteration method with
initial approximation x1(0) = 0 , x2(0) = 0 , x3(0) = 0 :
(1) First Order Runge-Kutta method (2) Second Order Runge-Kutta method
(3) Third Order Runge-Kutta method (4) Fourth Order Runge-Kutta method
(3) FkMZ vkMZj #axs&dqêk fof/k (4) QksFkZ vkMZj #axs&dqêk i)fr
14. The convergence rate of the ………….. method is poor, when two largest eigen values
are nearly equal in magnitude.
(1) Power's (2) Newton's (3) Euler's (4) Bolzano's
----------- fof/k dh vfHklj.k nj [kjkc gS] tc nks lcls cM+s vkbZxsu eku ifjek.k
esa yxHkx cjkcj gSaA
(1) ikoj dh (2) U;wVu dh (3) ;wyj dh (4) cksytkuks dh
93323/(D) P. T. O.
6 D
n +1
15. The iteration formula for Euler's modified method is y1 = y0 + ..... .
h
(1) f ( x.0 , y.0 ) + h (2) [ f ( x.0 , y.0 ) + f ( x1 , y1 )]
2
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) None of these
(3)
h
2
[
f ( x.0 , y.0 ) + f ( x1 , y1( n ) ) ] (4) buesa ls dksbZ ugha
93323/(D) P. T. O.
8 D
fuEufyf[kr çksxzke dk vkmViqV D;k gksxk \
# include <stdio.h>
void main ()
{
int a = 10, b = 2, x = 0;
x = a + b * a;
printf("value is =%d", x);
}
(1) 10 (2) 30 (3) 2 (4) buesa ls dksbZ ugha
93323/(D)
D 9
27. Which of the function does "returns the absolute value of i" and returns value in
integer ?
dkSu-lk QaD'ku i dk iw.kZ eku ykSVkrk gS vkSj eku baVhtj esa ykSVkrk gS \
(1) fabs (2) abs (3) floor (4) sqrt
93323/(D)
D 11
# include <string.h> esa strcat QaD'ku dk D;k mi;ksx gS \
(1) VsDLV dh ,d iafä i<+uk
(2) nks fLVªUxksa dks tksM+uk
(3) nks fLVªUxksa dh rqyuk djuk
(4) mijksä esa ls dksbZ ugha
(3) ,js rRoksa dks fujarj ;k lfUufgr LFkkuksa esa eseksjh esa laxfz gr fd;k tkrk gS
(3) int arr [4] = {1, 2, 3, 4}; (4) int arr (4) = (1, 2, 3, 4);
93323/(D) P. T. O.
12 D
struct temp
int a[10];
char p;
};
93323/(D)