Programming questions on c Programming language



Problem Statement - 1:

1)Write a C-Program to input a 3x4 matrix and print in the form of a matrix

Source Code:















Input & Output:


Problem Statement - 2:
Write a program to print the following pattern
                        1
                1    2    1
1        2        3    2    1

Source Code:




Input & Output:

Problem Statement - 3:
Write a program to calculate the factorial of a function using recursive concept with the help of parameter passing and return value.

Source Code:

Input & Output:


Similarly, you can also learn the structures, arrays, unions and pointers concepts in C programming Language.

If you have any doubts or you want us to create some more concepts or if you can't solve any problems please give them in the form of your comments.


If you like the content we had given and understood it well then give your valuable rating for this page and comment on your experience in the comment box .


0 Comments: