Professional Documents
Culture Documents
101 Programing Questions
101 Programing Questions
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)
ca,
char ch="A'
6S Cab'a b.
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
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)