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

Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

0 Answers  


Explain what standard functions are available to manipulate strings?

0 Answers  


what is the differance between pass by reference and pass by value.

7 Answers   Infosys,


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

0 Answers  


What is typeof in c?

0 Answers  






What are header files why are they important?

0 Answers  


How many types of operators are there in c?

0 Answers  


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

0 Answers   Subex,


What is int main () in c?

0 Answers  


why 'c' is called middle level language.

2 Answers  


What are comments and how do you insert it in a C program?

0 Answers  


what is the difference between unix os and linux os

4 Answers  


Categories