Write a C Program for type casting | Program for Type Casting | Implicit and Explicit type cast in C

Опубликовано: 01 Июль 2026
на канале: Deep Codec Guru
50
1

Join this channel to get access to perks:
   / @deepcodecguru  

Telegram Channel: https://t.me/DeepCodecGuruJi
Telegram Group: https://t.me/DeepCodecGuruG
Website: http://deepcodecguru.com
***************************************************************************************
Tutorial code will be available at: https://deepcodecguru.com
***************************************************************************************
Exercise Module-1
1) Write the C programs to calculate the following
a) Area of triangle when sides are given.
b) Program for Type Casting.
c) Interchanging values of two variables.
2) Write the C programs to perform the following
a) Read lower case character and convert into upper case.
b) Find maximum of 3 values using conditional operator.
c) Calculate area and perimeter of circle.

Exercise Module-2
3) Write C programs for the following using decision making statements
a) Program to find roots of quadratic equation.
b) Find the Largest among 3 values.
c) Calculate the grades of a student.
4) Write C programs for the following using Iterative Statements
a) Arithmetical operations using switch-case
b) Read a number and display in reverse.
c) Check for Armstrong number property
5) Write C programs for the following problem
a) Generate Fibonacci series.
b) Generate Prime numbers between two numbers.
c) Write a program in C to display the pattern like right angle triangle using an asterisk *
*
* *
* * *
* * * *
Exercise Module-3
6) Implement the following using arrays
a) Largest and smallest from a list of elements.
b) Program for Linear Search.
c) Program for Bubble Sort.

7) Implement the following using arrays
a) Matrix addition.
b) Matrix Multiplication.
c) Program using string handling functions
8) Implement the following using DMA Functions
a) Find the sum and average of list of elements using DMA Functions
b) Implementation of call by reference and call by valve.
9) Implement C Program using any numerical methods

Exercise Module-4
10) Write the C program for following problem
a) Factorial using recursion and non-recursion.
b) GCD using recursion and non-recursion.
c) To count the digits of a given number using recursion

Exercise Module-5
11) Write the C program for following problem
a) Implementation of array of structure
b) Demonstration of Union

Bonus Exercise Module
12) Write the C program for following problem
a) Copy the contents of one file into another.
b) Count the number of characters, words and lines in a file.

***************************************************************************************
Write a c program for type casting in c
write a c program to illustrate type cast
write a c program to illustrate implicit type cast
write a c program to illustrate Explicit type cast
program to convert integer to float data type
program to convert char to integer data type
program to convert integer to char data type
program to convert float to integer data type
integer to float data type
float to integer data type
type casting in c
type casting program in c
program for type casting
c program for type casting
c program
computer programming language
c program basic
c program for placement
c program lab programming
c program lab
c program lab solution
c program lab program solution
c program lab program answer
c program lab program answer
fundament c program
basic c program
c program for interview
basic program for interview
basic coding question
***************************************************************************************
Follow me on:
Telegram Channel: https://t.me/DeepCodecGuruJi
Telegram Group: https://t.me/DeepCodecGuruG
Twitter:   / codecdeep  
LinkedIn:   / deepcodec-guru-96682b1b0  
Instagram:   / deepcodecguru  
Facebook:   / deepcodec.guru.7  
Website: http://deepcodecguru.com

Yours,
Deep Codec Guru Family
(Founder: Ajay Prasad Kushwaha)

For any Query please WhatsApp at (+91) 9117948968 or Email at [email protected]
***************************************************************************************
#DeepCodecGuru #AjayPrasadKushwaha #OnlineSupport #Udemy #Coursera #Solution