The address of memory location num1 and num2 are passed to function and the pointers *a and *b accept those values. So, the pointer a and b points to address of num1 and num2 respectively. When, the value of pointer is changed, the value in memory location also changed correspondingly. Write a program to swap the values in num1 and num2 using *a and *b.
In a cricket game, the two teams A and B have different characteristics of players in terms of batsman and bowler. Find similar characteristics of player using union operations. Write a program for set operations using pointers.
Write a program to swap two numbers using temporary variables and functions (call by value
Design a C program to reverse a string but the special characters must be in same location only the character must be reversed.
Design a C program to find the Frequency of Characters. The string entered by the user is stored in variable str. Then, the user is asked to enter the character whose frequency is to be found and display.
Write C program to find the maximum number from the n x m array.
Design a C program to insert an element in a specified position in the given array.
Display the largest number of three numbers. Condition is uses only if statement to find the largest number
Program to display a positive number, if user enters negative number that number won't be displayed by using IF statement.
Display the output as “welcome to FOR LOOP” for 5 times with use of for Loop