Write a C program to swap two integer values using pointers
09 a]Write a C program to swap two integer values using pointers. swapping two integer values using pointers below example shows the before swap and after swap
09 a]Write a C program to swap two integer values using pointers. swapping two integer values using pointers below example shows the before swap and after swap
08 c]List any five built-in functions and explain any two of them. Answer:- printf() scanf() puts() gets() printf() :- In C programming language, printf() function is used to print the…
8 b]Write a C program to find factorial of a given number using recursion function. ➢ Recursion is the repetitive process in which a function calls itself.➢ All recursive functions…
8 a]Discuss the various ways of passing parameter to the functions. Void Functions without parameters – No arguments and no return values ➢ When a function has no arguments, it…
6. B) Using suitable code, discuss the working of the following string functions: i.strcat ii.strcmp iii.strcpy iv.strlen v.strstr Answer:
6. A) Write a C program to implement Selection Sort technique (ascending order). Trace the steps for the input: 9, 1, 6, 3, 2, 0, 5 Answer:
5. C) With the help of suitable example explain the working of Binary Search technique. Answer: Binary Search: Binary search works on sorted arrays. A binary search begins by comparing…
5.B) Write a C program to transpose a m x n matrix. Answer:
05. a] How 1 Dimension integer array is represented in memory? with the help of suitable example demonstrate the initializing the array elements. Answer: One-Dimensional Arrays: A list of items…
04 c] Give the syntax and working of simple if Else. Answer:- “The if..else statement is an extension of the simple if statement” Syntax:- if (Expression) { (true-block;) Statement1; }…