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

Iat2 QB

The document provides a comprehensive overview of various C programming concepts, including functions like gets() and fgets(), structures and unions, pointers, strings, arrays, recursion, and storage classes. It includes multiple programming tasks such as implementing sorting algorithms, matrix operations, and string manipulation functions. Additionally, it differentiates between actual and formal parameters and explains the declaration and initialization of one-dimensional and two-dimensional arrays.

Uploaded by

soumyarasal4
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)
2 views2 pages

Iat2 QB

The document provides a comprehensive overview of various C programming concepts, including functions like gets() and fgets(), structures and unions, pointers, strings, arrays, recursion, and storage classes. It includes multiple programming tasks such as implementing sorting algorithms, matrix operations, and string manipulation functions. Additionally, it differentiates between actual and formal parameters and explains the declaration and initialization of one-dimensional and two-dimensional arrays.

Uploaded by

soumyarasal4
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

 Define gets() and fgets() with syntax and example.

Differentiate between
gets() and fgets().
 Explain structure and Union with syntax and example. Differentiate between
structure and union.
 Define Pointer. Explain pointer variable declaration and initialization with
suitable example.
 Define String. Explain any 4-string manipulation function with suitable
example.
 How 1D integer array is represented in memory. With the help of suitable example
demonstrate the initializing the element.
 What is recursion? Develop a C program to print Fibonacci series using recursion
 Develop a C program to concatenate two strings without using built-in function
 Write a C program to transpose a m x n matrix
 Explain the following with example with respect to structures
 a)Structure Name b)Member of a structure c)Accessing a structure
 Also write a C program to explain all these terms of Structure.
 Explain the different types of storage classes with example.
 Differentiate actual and formal parameters.
 Write a C program to implement bubble Sort technique (ascending order).
Demonstrate the steps for the input: 9, 20, 6, 3, 2, 12, 15.
 Write a C code to implement Matrix multiplication and validate the rules of
multiplication
 Write a C program to search a key integer element in the given array of N
elements using binary search technique. Assure that numbers are sorted
before search operation.
 Write a C program to create user defined functions that implements string
operations such as compare, concatenate, copy and length of the string using
parameter passing techniques.
 What is an array?Explain how one dimensional array are declared and
initialized.
 Write a C program to find the longest of n numbers.
 Write a C program to implement structure to read, write and compute average
marks and the students scoring above and below the average marks for a
class of N students.
 Write a C program to find sum, mean,variance and standard deviation of all
elements
 in an array using a pointer?
 Illustrate the recursive function with the code for finding the factorial of a
number using the same.
 Differentiate actual and formal parameters.
 Write a C program to implement bubble Sort technique (ascending order).
Demonstrate the steps for the input: 9, 20, 6, 3, 2, 12, 15.
 Write a C code to implement Matrix multiplication and validate the rules of
multiplication.
 List out the four different ways to initialize the strings each with an example.
 Define string. Write a program to get string data from the user and display it
using the gets and puts function.
 Write a C program to create user defined functions that implements string
operations such as compare, concatenate, copy and length of the string using
parameter passing techniques.
 Explain declaration and initialization of 1-dimensional arrays with example.
 Explain declaration and initialization of 2-dimensional arrays with example.
 Write a C program to concatenate two strings without using the library
function.
 Write a C program to transpose a matrix of order 3x3.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy