write a program which the o/p should b in such a way that s
triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon
if I/P=5 and so on...forget about the I/P which is less
than 3


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

Post New Answer

More C Interview Questions

can we print any string without using terminator?

2 Answers   Infosys, TCS,


How can you increase the allowable number of simultaneously open files?

0 Answers  


Explain 'bit masking'?

0 Answers   EXL,


Why do we write return 0 in c?

0 Answers  


what is c

4 Answers  






Differentiate between calloc and malloc.

0 Answers   Wipro,


What is the use of #define preprocessor in c?

0 Answers  


pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?

2 Answers   eClerx, Excel, kenexa,


Is main is user defined function?

0 Answers  


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

0 Answers   Zoho,


What is pragma in c?

0 Answers  


what is difference between #include<stdio.h> and #include"stdio.h"

4 Answers  


Categories