Skip to main content

C Language Question Practice



C Language Question Practice

Note: Do all the program using for, while and dowhile loop.

Que-1 Write a program to input a number and check number is perfect or not.
Que-2 Write a program to input a number and check number is Armstrong number or not.
Que-3 Write a program to input a number and check number is prime number or not.
Que-4 Write a program to input a number and check number is special number or not.
Que-5 Write a program to input a number and check number is palindrome or not.
Que-6 Write a program to input a number print it reverse order.
Que-7 Write a program to input a number and print it word format.
Que-8 Write a program to input a number and check it is Automarphic or not.
Que-9 Write a program to input a number and check number is magic number or not.
Que-10 Write a program to input a number print its factorial.
Que-12 Write a program to print Fibonacci series upto n term.
Que-13  Write a program to print  tribonacci series upto n term
Que-14 Write a program to input a number and check number is perfect or not.
Que-15 Write a program to print following pattern.
a)      1
22
333
4444
55555

b)      55555
4444
333
22
1

c)                           1
                   22
                 333
              4444
            55555

        d)                       1
                              2  3
                           4    5  6
                        7   8    9   10

Comments

Popular posts from this blog

CODD RULES of RDBMS

Codd’s rules for RDBMS (i)                 The information rule. (ii)              Guaranteed access of   data (iii)            Systematic treatment of null value. (iv)            On line DB support. (v)              Comprehensive sup-language rule. (vi)            The view update rule. (vii)         Insert update rule. (viii)       Physical data independence. (ix)            Logical data independence. (x)              Integrity rule (xi)  ...

C Language Notes for new Students

    C- L ANGUAGE N OTES  ----------------------------------------------------------------------------- Dennis Ritchie     1. C language is generally develop for hardware programming     2. C language is developed by Dennis Ritchie.     3. C language is developing in 1969-1974.     4. C language is develop in AT & T Bell Laboratory Programming Language:- Programming Language provide interface for write the program for development of Software. There are different types of programming language.      a) Low Level:-             I) Machine Language: - It is in the form of Binary Numbers (0 or 1)             ii) Assembly Language: - It is in the form of group of alphabets and numbers.      b) High Level:-       ...