0% found this document useful (0 votes)
18 views2 pages

Pci Imppppppp

Uploaded by

13PAWAN KALECO
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

Pci Imppppppp

Uploaded by

13PAWAN KALECO
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

• Write an algorithm to find largest of three numbers.

Draw flowchart for finding


largest number among three numbers.*
• Explain do while loop with example.*
• Differentiate between character array and integer array with respect to size and
initialisation.*
• Explain meaning of following statements with reference to pointers*
int *a, b ;
b = 20 ;
*a = b ;
a = &b ;
• Describe the following terms :*
(i) Keyword
(ii) Identifier
(iii) Variable
(iv) Constant
• List the categories of functions and explain any one with example. Explain User
defined function with example.**
• State the use of printf( ) and scanf( ) with suitable example.*
• Give any four differences between call by value and call by reference.*

• Write a program to sum all the even numbers between 1 to 100. Write a
program to calculate sum of all the odd numbers between 1 to 20.***
• Develop a program to find the factorial of a number using recursion. Calculate
factorial of a number using recursion…… Explain recursion with suitable
example. List any two advantages……. If the value of a number (N) is entered
through keyboard. Write a program using recursion to calculate and display
factorial of number (N).****
• Write a program to accept ten numbers in an array. Sort array elements and
display it. Write a program to accept ten numbers and print average of it.**

• Write a program to print Fibonacci series starting from 0 and 1. Write a function to
print Fibonacci series starting from 0, 1.*
• Write a program for addition of 3 × 3 matrices.**
• Write a program to compute the sum of all elements stored in an array using
pointers.*
• Write a program using structure to display information of employee which consist
of employee id, name, age and salary…… Write a program to declare structure
employee having data member name, age, street and city. Accept data for two
employees and display it.*
• Write a program to demonstrate use of strcmp( ), strcpy( ), strlen( ), strcat( ).
Explain strlen( ) and strcpy( ) function with example.*
• Write a program to declare structure student having rollno, name & marks.
Accept & display data for 3 students…. Develop a program using structure to print
data of three students having data members name, class, percentage…*
• Explain pointer arithmetic with example. …State four arithmetic operations perform
on pointer with example…… Explain how to pass pointer to function with
example…***
• Explain nested if-else with example. Give a method to create, declare and initialize
structure also develop a program to demonstrate nested structure.*
• Write a program to add, subtract, multiply and divide two numbers, accepted
from user using switch case…… Write a program to perform addition, subtraction,
multiplication and division of two integer number using function….. Write a program
to accept two numbers from user and perform addition, subtraction, multiplication and
division operations using pointer……… Develop a simple ‘C’ program for addition
and multiplication of two integer numbers.***
• Illustrate initialization of two dimensional array with example. With suitable example,
explain how two dimensional arrays can be created. Explain one dimension and two
dimension arrays.**
• Write a program to read two strings and find whether they are equal or not. Write a
program to accept a string as input from user and determine its length.
[Don’t use built in library function strlen( )]*
• Write a program to sort elements of an array in ascending order. Write a program to
accept 10 numbers in array and arrange them in ascending order.*
• Draw flowchart for checking weather given number is prime or not.*
• Write a program to reverse the number 1234 (i.e. 4321) using function…..Write a
program to take input as a number and reverse it by while loop…... Develop a
program to accept an integer number and print whether it is palindrome or not…..
Design a programme in C to read the n numbers of values in an array and display it in
reverse order.***
• Explain any four bit-wise operator used in ‘C’ with example. Explain increment and
decrement operator. Explain conditional operator with example.**
• Write a program to swap two numbers using call by value……... Write a program to
sweep the values of variables a = 10, b = 5 using function….. Develop a program to
swap two numbers using pointer and add swaped numbers also print their addition.**
• Develop a program to find diameter, circumference and area of circle using
function.*

You might also like