Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Hello. How to write a C program to check and display president party
like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

0 Answers   InterGraph,

What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,

what is difference between array,strutter,union and pointers

3 Answers   CTS, Lovely Professional University, Mannar Company,

How to calculate sum

2 Answers  

why effort estimation is important?

1 Answers  

what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,

How can I find out if there are characters available for reading?

0 Answers  

what is difference between declaring the pointer as int and char in c language?

3 Answers  

what is the format specifier for printing a pointer value?

0 Answers  

Are there any problems with performing mathematical operations on different variable types?

0 Answers  

How do I copy files?

0 Answers  

Who is the founder of c language?

0 Answers