give an example of type casting by a simple c program
Answer Posted / ola
#include<stdio.h>
void main()
{
float a;
a = (float)15 / 3;
printf("%f\n",a);
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
There seem to be a few missing operators ..
What is memcpy() function?
Can an array be an Ivalue?
What are the types of pointers?
how to find anagram without using string functions using only loops in c programming
Explain what does a function declared as pascal do differently?
What is c++ used for today?
regarding pointers concept
What is const keyword in c?
How will you divide two numbers in a MACRO?
Explain why c is faster than c++?
How we can insert comments in a c program?
Describe dynamic data structure in c programming language?
What is struct node in c?
Write program to remove duplicate in an array?