You are on page 1of 8

t sucuadi a

Seeuou 8
2020SDS Lo O
ABES Institute of
Technology, Ghaziabad printf%d",c); printf%d",c);
5. #include<stdio.h>
10. #include<stdio.h>
void main0
void main)

Find the output of the int a-5.b=6.c;


foilowing questions: int a-5,b-6,c;
cla&b); CFa,b;
1. #include<stdio.h> printf%d".c);
void main)
ubpu printf%d",.c);
6. #include<stdio.h>
11. #include<stdio.h>
int a5,b=6,c; void main0
11 void main(0
c=atb;
printfd".c); int a-5,b=6.c;
int a-5,b6,c;
c=ab); c(a.b):
2. #include<stdio.h> printf%d",c); printf(%d".c;
void main()
7. #include stdio.h> 12. #include<stdio.h>
int a-5,b=6: 11 o o O00 o void main))
void main)
float c
catb: int a-5,b=6,c; 30
int a-5.b=6,c;
printf%f.c); c=(ab); cab,
printf%d".c); printfd".c);
3. #include<stdio.h>
void main(0 8. #include<stdio.h> 13. #include<stdio.h>
void main(0 void main(
int a=5;
29 2
float b-6,c int a=73,b-2,c; int a-5b=6,c;
catb; c(a<b); ca=b);
printf%f.c); printf%d",c); printfd".c);
)
9. #include<stdio.h>
4. #include<stdio.h> 14. #include<stdio.h>
void main(0 void main(0 void main0
5 int a-73,b3,c;
int a-5,b=6,c; int a=5,b-6,c;
c=a%b; c=(a>>b); c(a=b);
printf%d",c). printfod",c). nt a 5.b 6.
15 #include<stdio hP at b,
20 #include stdio h
void main()
void main()
printf od",a),
O 25 #include stdio h
int a=5,b-6,c.
int a-5,b-6,p-9,c, void main )
ca/b Cab|lap.
printf%d",c). 30
printf%d",c), inta-5,b6,
16 #include<stdio h> a-b
21 #include<stdio hp
void main) printi %d",a),
0 833 333 void main()
26
float a-5,b-6.c. int a=5,b=6,r-8,c,
#include stdio h
void main)
c-a/b, cb&&a>r,
printf%f".c), printf%d",c), int a,c,
C 9
printf"enter the value of a").
17. #include<stdio h> 22 #include< stdio h>
void main) void main(0
scanf %d".&a).
Ca,

int a-5,b=6,p=4,c, 8-333355 printf%d".c),


int a=50,
ca>b&&a>p, float b=6 0,c, 27 #include stdio h
printf%d",c), ca/b, void main 0
printf%f",c),
18. #include<stdio h> int a=5,c,
83
void main() 23 #include<stdio h> c-89,
void main()
int a=5,b=6,p=4,c, O 8 333333
printf%d'.c).
ca<b&&a<p, int a=5,b=6, 28 #include stdio h
printf%d",c). float c; void main()
c-(float )a/b,
19. #include<stdio h>
void main()
printf%f',c), int a-10,b-2.x=0.
xa+batl0/2 a.
8
24 #include<stdio.h> printf"value is =°%d".x).
int a-5,b=6,p=7,.c, void main()
c=a>blla>pP 29 #include< stdio h
void main() 34 #include< stdio h> 39 #include<stdio h>
void main() void main()
int a=5.b=o.c. 35
ca-b"5.
printf od c)
int a-5.b.c.
b-60,
6s int a=5.b=6,
iflab)
c=atb,
30 #include stdioh>
printf od".c), printf%d ,a),
void main)
35 #include< stdio h Else
int a=5.c. 5 void main)
Ca printf%d".b),
printfd".c). int a-5,b=6,c,
c-a>ba b.
31 #include- stdio h printf od".c), 40 #include<stdio h>
void main) void main0)
36 #include< stdio h>
int a-5.b=6.c, 11 void main() int a=5,b-6, Bat ale
ca+b. ia-b) na egua
printfod".c). int a-5,b=6,c,
c=a>b90 100, printf"both are equals"),
32 #include<stdio h printfod".c).
Else
void main()
x-1 37 #include<stdio h>
printf"both are not equals"),
int x-(20 | 40 ) && (10). void main()
printf"x= ad".x).
int a=5,b=6,c,
41 #include<stdio h>
33. #include< stdio h> a>b?printf"hello") printf("hi").
printf %d",c), void main() E, 69
void main(0
unsigned short a= B'
int x,y. 200, 38 #include<stdio h
void main() at-2.
at+
x=(100,200). printf"variable ac , %d ". a,a),
int a-5,b=6,
100,200
printf"x=od.y=%d".x,y),
ab?printf%d",a) printf("%d",b)
42. #include<stdio h>
void main()
47 #include stdio h
void main0)
int a-65.c. A int a5,b=6.c

ca,
char ch="A'
6S Cab'a b.

printf The smallest number is


printf%c",c).
printf%d",ch), od".c)
43 #include<stdio.h 48 #include stdio h>
void main(0 void main0
53 #include stdio h
void main()

int b-68,c,
66
char a-'B int a-5.b-6.c
c=b printfod",a), att
printf%c",c).
49 #include stdio h>
printl %d".c).
44 #include<stdio h> void main() 54 #include stdio h
void main()
int a-5,b-6,c,
22 void maind)
+t = 6
int a-65,b=1,c, c(atb)*2, int a=5,b=6.c,
c-a+b, printf%d",c), +tb
printiod%d",+ta.t+b)
printf%c",c),
50 #include< stdio h> 55 #include stdio h
45 #include<stdio h> void main void main()
void main(0
6S int a-5,b-6,c, int a=5.b=0,c,
char ch='A',c; c(a=b) ++b
cch, printfod",c), cab,
printf %d",c); printf od".c).
SI #include< stdio h>
46 #include<stdio.h> void main() 56 #include stdio h
void main(0 void main)
66 int a5,b-6,c, 3
char ch="A',c; C=a>b?a b int a-5.b6.c,
c=ch+1 printf The largest number is %d".c). at 2.
printfod",c) catb
52 #include< stdio h> printf od"'.c).
void main()
7nclude stdio h
od maint printf'vowel).
case a
break.
case A
nt a-5 b 6.c default
case e
printf d.( ak b)) printfconsonant").
case E
case
58 #include stdioh>
case T
void maint)
case o
Censonaut
64 #include stdio h>
case O void main)
t a-5.b-6.c.
case U
printfd.(alb). case 'u char ch
69
include stdio
printf"vowel"). printil 'enter the alphabet").
h break
void maind) default
scanf%c"&ch)
Switch ch)
3 printt consonant)
int a-5b=6.c case 'a
printfd (a b)).
case A IVewels areP-ut
60 include stdio h Case'e i+uaws leusel
case E
void main)
6#include stdio h case'

int a
300 vond maind case T Au
case o' Couueuaut ale
printfd.(a<2) char ch A case O
switchech case U Pu + heo£
61 #include stdio h case 'u Ceus o u a u t a a
void main) case a
printf"vowel").
case A
int a-75 case e
Vo uet break ptput
default
printf d".(a>2). case E
printf"consonant").
case
62 #include stdio h caseT
void main() case o
case O 65 #include stdio h>
char ch- p case U void main)
switch ch) case 'u
int:a 5,
iffa-6) printfd%d",++a,a) 74 #include<stdio h>

69 void main)
printfa is not #include stdio h>
equals to 6"), void main()
int a=5.b=6.c.
else ars net
eq u a to int a-5,b, printf%d",(a==b).
print "a is equals to 6"), 6 b=a+3, b 8 75 #include stdio h>
printf%dod",++b,b). void main()
70 #include< stdio h
66
#include stdio h> void main()
O
void main() int a=5.b=6,

int a=5,b=6,
11 printf od".(a>=b),.
int a=5,b=6,
ifa--b)
printf %d",(a+b)). 76 #include< stdio h>
void main)
71 #include stdio h
printf'a is not equals to b'"),
void main()
int a=5.b=6.c.
2
else a is heregua a-b
int a=5,b=6,c,
tob c(a>b&&b>10), printfd".*c)
printfa is equals to b"),
printf%d".c), 77 #include< stdio h>>
void main()
72 #include<stdio h>
67. #include<stdio h> void main() int a=5.b=6.c.
+ta= 6
void main()
1 ca b

int a-5,b=6,c, 8 int a=5,b=6,C,


c(a=b&&b<10),
printfdodod".c.+ab).
b.-3
printf od",c). 78 #include< stdio h
catb, void main()
printf%d".c), 73 #include<stdio h>
void main)
5
int a-5.b6.
8 #include<stdio.h
a=b
void main() ++ a = 6 int a-5,b=F6,
printfod".a).
printfod" (a<=b&&b<10).
int a=5,
a S 79 #include<stdio h
void main()
printfod%d",area.p), void main()
float a=5.5,b=6 2,sum, U 0eo 84
Sum=a+b, #include< stdio h>P int a-2.b=62.
void main()
printf%f", sum), aa+b, a = 6 2
ba-b
80. #include<stdio h> int a-5,b-6,c. b= ° 2
catb, a-a-b
void main()
33 Ooo 000 printf%d",c), printf 9dod",a,b).
float p 100,r=5 5,1=6,si, 89 #include< stdio h>
85 #include< stdio h
si-(p*r*1)/100, void main() void main()
printf%f", si).
81 #include<stdio h>P int a=5,b=6, b= int a-33,b=40.c. O
printf"a-%din",a), aab
void main(0
printf"a-/odin",b), b=S b=ab o=33
C a-ab
int a=5,b=6,c;
atb,
86 #include< stdio h> printfdod",a,b)
b= ! 6 void main()
b=c+a, 90 #include<stdio h>
printf%dod",c,b),
82. #include<stdio.h>
char ch,

scanf %c",&ch)
RAMLLee
printf"enter the alphabet"),
void main()

int a=95.b-67,c. C= 28
void main0 Ca b
printf"n equivalent digit value of
alphabet is %d", ch), printfod".c).
int a=5,b,c, 3
b-2,60, 87 #include< stdio h>
91
#include stdio h
Csa-b void main()
void main)
printf%d",c),
83
#include stdio. h>
int a=10,b=6,c; o
int a-88.b=66.c.
aa2.
36D
ca,
void main) b=b3
aneg 3 6 a=b
b=c ca+b
int -5,b=6,area,p, printfod".c).
area-*b, Pe n e = 22 printfod%d",a,b),
Fill
p-2(1+b) 88 #include< stdio h>
in the blanks as per questions
requirements
2 #include stdo h z=x*2+y/4. int x=10y=16,z.
void main) printf od".z) z=*24y.
z=2ty.
nt a-4 b-63 97 #include stdio h
463 printfd",z).
printt ab). void main)

93 #include stdio h» intx-10.y=16,z, Zz2


vOid main 223-5+y/4,
printtod.z).
float a45b-36
printf a,b 98 #include stdio h
void main)
94 #inciude stdio h>
void main) int=10,y=l6,z, Z S
int a-5,b6
2-23-5 y/4
z+=3,
float c printfd".z),
ca-b
printf ".c). 99 #include stdio h
void main(0
95 #include<stdio h> 68
void main) int x=10,y=l6,z.
a = 3 b= 3
z-x*2+23-5-y/4
int a,b.c.
C 6 printf od".(z<«2).
printf"enter the a and b").
scanf 100 #include stdio h
cab void main
printfod".c),
int x10,y-i6,z.
Find the output of the following 223-5+y/4,
questions printf %d".(z&x).
96 #include stdio h>
void main) 101 #include<stdio h
Zz 29
void main()
int x=10,y=16,z.

You might also like